For initial declarative chart setup. View as 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 treemap displays hierarchical data using nested rectangles. The data can be laid out in varying ways depending on options.
In TypeScript the type option must always be set.
Configuration options for the series are given in three levels:
treemap
series are defined in
plotOptions.treemap.Highcharts.chart('container', {
plotOptions: {
series: {
// general options for all series
},
treemap: {
// shared options for all treemap series
}
},
series: [{
// specific options for this series instance
type: 'treemap'
}]
});