For initial declarative chart setup. Download as ZIP or JSON.
Highcharts.setOptions({
});
Highcharts.chart({
});
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 polygon series can be used to draw any freeform shape in the cartesian
coordinate system. A fill is applied with the color
option, and
stroke is applied through lineWidth
and lineColor
options.
Configuration options for the series are given in three levels:
polygon
series are defined in
plotOptions.polygon.Highcharts.chart('container', {
plotOptions: {
series: {
// general options for all series
},
polygon: {
// shared options for all polygon series
}
},
series: [{
// specific options for this series instance
type: 'polygon'
}]
});
TypeScript:
type
property.if (chart.options.series?.[0]?.type === polygon) {
// code specific to the polygon series
}
Copyright © 2024, Highsoft AS. All rights reserved.
Highcharts v12.1.1 - Generated from branch master (commit 590c1a9a2d), on Fri Dec 20 2024 08:17:42 GMT+0100 (Central European Standard Time)