Chart Methods
The Chart supports the following scripting methods.
See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.
| Method | Description |
|---|---|
|
AddSeries |
The AddSeries method adds a series to the chart via script. See Scripting a Chart Series for more information. |
|
DeleteSeries |
The DeleteSeries method removes a series from a chart via script. |
|
Equals |
The Equals method determines whether the specified object is equal to the current object. |
|
ExportToImageFile |
The ExportToImageFile method exports the chart to an image file. |
|
GetHashCode |
The GetHashCode method returns a hash code for the current object. |
|
GetType |
The GetType method returns the runtime type of the current instance. |
|
IsDataLoaded |
The IsDataLoaded method is a Boolean function used to determine whether all series have finished loading historical data. |
|
RefreshChart |
The RefreshChart method refreshes the data in the chart from the Value History Service (VHS). |
|
ResolveRelativeFacility |
The ResolveRelativeFacility method returns the resolved relative facility. |
|
ToString |
The ToString method returns a string that represents the current object. |
|
UpdateRangeAbsolute |
The UpdateRangeAbsolute helper method updates chart data for an absolute date range. |
|
UpdateRangeRelative |
The UpdateRangeRelative helper method updates chart data for a relative date range. |
