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

TrendSetSpan

Sets the span time of the trend. The span time is the time period covered in the trend window. You can enter a span time 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 span time.

Syntax

TrendSetSpan(AN [, Value] )

AN:

The AN of the trend.

Value:

An optional value for the span time, as a string.

Return Value

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

Related Functions

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

Example

See built-in trend templates.

See Also

Trend Functions