Trendline module is used to render 6 types of trendlines in chart.
To destroy the trendline.
Returns void
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
Initializes the data source for the trendline.
| Parameter | Type | Description |
|---|---|---|
| trendline | Trendline |
The trendline configuration. |
Returns void
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