HTScrollRight() Function
- Last UpdatedFeb 22, 2017
- 1 minute read
The HTScrollRight() function sets the start time of the trend to a time later than the current start time by a percentage of the trend's width. The effect is to scroll the date/time of chart to the right by a specified percentage of the trend’s width.
Category
Historical
Syntax
HTScrollRight(Hist_Tag,Percent);
Arguments
Hist_Tag
HistTrend tag assigned the name of the trend.
Percent
Real number representing the percentage of the chart to scroll (0.0 to 100.0) right.
Example
The following statement scrolls the PumpPress trend to the right by 20 percent.
HTScrollRight("PumpPress",20.0);
If the current display starts at 12:00:00 PM and the display width is 60 seconds, then the new trend starts at 12:00:12 PM after the function is processed.