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.
Flags are used to mark events in stock charts. They can be added on the timeline, or attached to a specific series.
Configuration options for the series are given in three levels:
flags
series are defined in
plotOptions.flags.Highcharts.chart('container', {
plotOptions: {
series: {
// general options for all series
},
flags: {
// shared options for all flags series
}
},
series: [{
// specific options for this series instance
type: 'flags'
}]
});
TypeScript:
type
property.if (chart.options.series?.[0]?.type === flags) {
// code specific to the flags 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:46 GMT+0200 (Central European Summer Time)