trendline property

HighchartsTrendlineSeriesOptions? trendline
getter/setter pair

Trendline (linear regression) fits a straight line to the selected data using a method called the Sum Of Least Squares. This series requires the linkedTo option to be set.

Configuration options for the series are given in three levels:

  1. Options for all series in a chart are defined in the plotOptions.series object.
  2. Options for all trendline series are defined in plotOptions.trendline.
  3. Options for one single series are given in the series instance array.

API Docs: https://api.highcharts.com/highstock/plotOptions.trendline

Implementation

HighchartsTrendlineSeriesOptions? trendline;