Any graph can be downloaded with a rest API.
The URL for a graph is
The host is the host name.
The graph is the graph name. The name of the graph can be found in the
alt tag of a graph image, or the graph list for a probe can be found by using the probe details button on the right side of a graph.
period_definition is described in the REST API description page