rAmCharts (version 2.1.15)

TrendLine-class: TrendLine class

Description

Creates a trendline for amSerialChart and amXYChart charts which indicates the trend of your data or covers some different purposes. Multiple can be assigned.

Arguments

Slots

finalValue

numeric. Value at which trend line should end.

finalXValue

numeric. Used by XY chart only. X value at which trend line should end.

initialValue

numeric. Value from which trend line should start.

initialXValue

numeric. Used by XY chart only. X value from which trend line should start.

valueAxis

ValueAxis. Value axis of the trend line. Will use first value axis of the chart if not set any. You can use a reference to the value axis object or id of value axis.

valueAxisX

ValueAxis. Used by XY chart only. X axis of trend line. Will use first X axis of the chart if not set any. You can use a reference to the value axis object or id of value axis.

listeners

list containining the listeners to add to the object. The list must be named as in the official API. Each element must be a character string. See examples for details.

otherProperties

list, containing other avalaible properties.

value

numeric.

Author

datastorm-open

Details

Run api("TrendLine") for more information and all avalaible properties.