Trend Graph

Use trend graph operations to manipulate a trend graph.

Note:

For information on the naming convention and script keywords, refer to the following.
Naming Conventions

 

Block
Text

changeTrendGraphMode($GraphicObject.TrendGraph1);
         2                       1

1: Trend Graph

2: Operation

 

You can use these operations to perform the following:

Settings in Trend Graph:

[Mode change]
Block

[Mode change]

Text

changeTrendGraphMode(TRENDGRAPH);

Enables changing between Historical and Real-time modes.
[Move Cursor to New data point]
Block

[Move Cursor to New data point]

Text

moveTrendGraphCursor(TRENDGRAPH, $Enums.DataPoint.New, 1);          

In historical mode, move the cursor position display forward by the specified amount.
[Move Cursor to Past data point]
Block

[Move Cursor to Past data point]

Text

moveTrendGraphCursor(TRENDGRAPH, $Enums.DataPoint.Past, 1);          

In historical mode, move the cursor position display backward by the specified amount.
[Move Graph plot to New time]
Block
[Move Graph plot to New time]
Text

moveTrendGraphPlot(TRENDGRAPH, $Enums.GraphPoint.NewTime, 1, $Enums.Time.Day);  

In historical mode, move the displayed time axis forward to the specified time.
[Move Graph plot to Past time]
Block
[Move Graph plot to Past time]
Text

moveTrendGraphPlot(TRENDGRAPH, $Enums.GraphPoint.PastTime, 1, $Enums.Time.Day);

In historical mode, move the displayed time axis back to the specified time.