使用趋势图操作处理趋势图。
changeTrendGraphMode($GraphicObject.TrendGraph1);
2 1
1: 趋势图
2: 操作
可使用这些操作执行以下工作:
趋势图中的设置:
[Mode change] | 块[Mode change] 文本changeTrendGraphMode(TRENDGRAPH); |
实现历史和实时模式的切换。 |
[Move Cursor to New data point] | 块[Move Cursor to New data point] 文本moveTrendGraphCursor(TRENDGRAPH, $Enums.DataPoint.New, 1); |
在历史模式下,将光标位置显示向前移动指定数量。 |
[Move Cursor to Past data point] | 块[Move Cursor to Past data point] 文本moveTrendGraphCursor(TRENDGRAPH, $Enums.DataPoint.Past, 1); |
在历史模式下,将光标位置显示向后移动指定数量。 |
[Move Graph plot to New time] | 块文本moveTrendGraphPlot(TRENDGRAPH, $Enums.GraphPoint.NewTime, 1, $Enums.Time.Day); |
在历史模式下,将显示的时间轴向前移动到指定时间。 |
[Move Graph plot to Past time] | 块文本moveTrendGraphPlot(TRENDGRAPH, $Enums.GraphPoint.PastTime, 1, $Enums.Time.Day); |
在历史模式下,将显示的时间轴向后移动到指定时间。 |