Search results

Trendlines API in React Chart API component

Trendline module is used to render 6 types of trendlines in chart.

Methods

destroy

To destroy the trendline.

Returns void

getTrendLineElements

Retrieves the elements required for rendering trendlines for a series in the chart.

Parameter Type Description
series Series The series for which trendlines are to be rendered.
chart Chart The chart instance.

Returns void

initDataSource

Initializes the data source for the trendline.

Parameter Type Description
trendline Trendline The trendline configuration.

Returns void

initSeriesCollection

Initializes the series collection for the specified trendline in the chart.

Parameter Type Description
trendline Trendline The trendline for which the series collection is initialized.
chart Chart The chart instance.

Returns void