For initial declarative chart setup. Download as ZIP or JSON.
Highcharts.setOptions({
});
Highcharts.stockChart({
});
For modifying the chart at runtime. See the class reference.
These pages outline the chart configuration options, and the methods and properties of Highcharts objects.
Feel free to search this API through the search bar or the navigation tree in the sidebar.
Linear regression indicator. This series requires linkedTo option to be
set.
Configuration options for the series are given in three levels:
linearregression series are defined in
plotOptions.linearregression.Highcharts.chart('container', {
plotOptions: {
series: {
// general options for all series
},
linearregression: {
// shared options for all linearregression series
}
},
series: [{
// specific options for this series instance
type: 'linearregression'
}]
});
TypeScript:
type property.if (chart.options.series?.[0]?.type === linearregression) {
// code specific to the linearregression series
}
Copyright © 2026, Highsoft AS. All rights reserved.
Highcharts Stock v13.0.1 - Generated from branch master (commit 16a711b6bf), on Mon Aug 17 2026 16:05:26 GMT+0200 (Central European Summer Time)