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