Highcharts Scatter Plot with Regression Line
The following example demonstrates adding a regression line to a scatter plot.
We learned the basic Highcharts configuration syntax in the previous chapters. Now let's look at some other configurations.
Configure
series Configuration
Set the type property of series to line/scatter. series.type describes the data series type. The default value is "line".
var series = {
type: 'scatter'
};
Example
Filename: highcharts_combinations_scatter.htm
Highcharts 教程 | Runoob Tutorial(runoob.com)
The output of the above example is:
Highcharts Combination Chart