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.
A line
series. If the type option is not
specified, it is inherited from chart.type.
Configuration options for the series are given in three levels:
line
series are defined in
plotOptions.line.Highcharts.chart('container', {
plotOptions: {
series: {
// general options for all series
},
line: {
// shared options for all line series
}
},
series: [{
// specific options for this series instance
type: 'line'
}]
});
TypeScript:
type
property.if (chart.options.series?.[0]?.type === line) {
// code specific to the line series
}
Copyright © 2024, Highsoft AS. All rights reserved.
Highcharts Stock v11.4.8 - Generated from branch master (commit 5468b76e66), on Thu Aug 29 2024 13:56:59 GMT+0200 (Central European Summer Time)