Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Trend_AutoScale

CSV_Trend_AutoScale

Auto scales trend pens, such that the 100% scale is 10% of the full tag range above the maximum tag value in the viewable trend window, and the 0% scale is 10% of the tag range below the minimum tag value in the viewable trend window.

Syntax

CSV_Trend_AutoScale(hTrendAN)

#hTrendAN:

Animation point number of the trend.