The Chart object is actually three objects with the same interface, representing the three types of charts currently available to indicators (LineChart, BarChart, PointChart). These are added to the canvas after the legend in order to appear immediately below the legend.
ID
Type: String
Description: The string id of this chart.
AddDataSet(dataset)
dataset: DataSet object
Description: Add the specified dataset to this chart
AddObject(object)
object: a child object such as Axis or Labels
Description: Add the specified object as a child object of this chart
GetObject(type, ID)
type: String
ID: String
Returns: object of the requested type
Description: Retrieve the child object with the specified type and id. Valid object types: "Axis", "Line", "Labels", "ParentCanvas", "PrimaryDataSet" Note: "PrimaryDataSet" is usually the first dataset added to the chart, in case the chart uses multiple datasets. It is the object on which calculations should be based.
SetAxis(object, position, shared)
object: Axis object or LineChart/BarChart/PointChart object if this chart is an overlay chart and the axis should be shared with the specified chart.
position: String (one of "Left", "Right", "Top", "Bottom")
shared: Boolean
Description: Sets an axis for the chart. If the chart is an overlay chart and the axis is to be shared with a parent chart, then shared should be set to True and the parent chart specified as the object.