Cicode Programming Reference > Cicode Function Categories > Trend Functions Introduction > TrendSetScale

TrendSetScale

Sets the scale of the current pen or of all pens on a trend. You can enter a scale in the Value argument, or leave the Value blank. A form is then displayed in run time for the operator to enter a value for the scale.

Syntax

TrendSetScale(AN, Percent [, Value] )

AN:

The AN of the trend.

Percent:

The scale to be set:

0 - Zero scale

100 - Full scale

Value:

An optional value for the scale, as a string.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

TrendDspCursorScale, TrendDspCursorTag, TrendDspCursorTime, TrendDspCursorValue, TrendGetAn, TrendRun, TrendSetDate, TrendSetSpan, TrendSetTime, TrendSetTimebase, TrendZoom

Example

See built-in trend templates.

See Also

Trend Functions