api
/api/account/update_graph
July 16, 2009 10:44 AM
Updates various graph configuration options.

authentication is required

params:
return This value specifies how you would like the response sent back.

Possible Values:
  • xml (Default) an xml feed
  • json returns the feed in JSON format
title title of the graph
graph_type This defines how multi dataset graphs will be displayed. Note- this setting will not affect graphs with only one dataset.

Possible Values:
  • overlay(Default) Datasets are drawn on top of one another
  • side-by-side Datasets are pictured next to each other
graph_scale This defines how multi dataset graphs y-axis will be displayed. Note- this setting will not affect graphs with only one dataset.

Possible Values:
  • relative(Default) Datasets are drawn using a single y-axis.
  • side-by-side Datasets are are drawn with separate y-axis'
snapshot This sets the graph as a 'snapshot'. That is, the graph will always maintain the start and and dates that you specify. if you are setting this, it is useful to also pass in start_date and end_date params.

Possible Values:
  • true
  • false (Default)
time_scale The amount of time represented by this graph.

Possible Values:
  • daily
  • twoday
  • weekly
  • monthly(Default)
  • quarterly
  • yearly
  • {number of minutes}You may also specify a specific number of minutes
add_tags tags to be added to this graph separated by spaces (spaces within tags should be represented by underscores). Pro users my use this to add to reports or projects (i.e: project:{projectName} report:{reportName})
remove_tags tags to be removed from this graph separated by spaces (spaces within tags should be represented by underscores). Pro users my use this to remove from reports or projects (i.e: project:{projectName} report:{reportName})
access Possible Values:
  • public
  • private
remove_dataset ID of the dataset you would like to remove from this graph. Note - if a graph has only one dataset it can not be removed.