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

TrendRun

Initializes the cursor and rubber-band features on a trend page. This function is included as a Cicode Object on all new trend pages. Only use this function when configuring a trend template that requires this functionality.

Syntax

TrendRun(iPageType)

iPageType:

The type of the page:

0 - Normal trend page template

1 - Compare trend page template

Return Value

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

Related Functions

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

Example

See built-in trend templates.

See Also

Trend Functions