Interface TreemapStyleOptions
Configuration options that define functional style of the various elements of TreemapChart
Properties
dataLimits
dataLimits?:
DataLimits
Data limit for series or categories that will be plotted
height
height?:
number
Total height of the component, which is considered in the following order of priority:
- Value passed to this property (in pixels).
- Height of the container wrapping this component
- Default value of 400px (for component without header) or 425px (for component with header).
labels
labels?:
object
Labels options object
Deprecated
Please use seriesLabels instead
Type declaration
labels.categorycategory?: {
enabled:boolean; }[]Array with single label options objects (order of items relative to dataOptions.category)
legend
legend?:
LegendOptions
Configuration for legend - a key that provides information about the data series or colors used in chart
seriesLabels
seriesLabels?:
TreemapSeriesLabels
Configuration for series labels - titles/names identifying data series in a chart Single label options object would be applied to all levels. Array of label options objects would be applied to each level.
Example
Single label options object would enable labels for all levels.
{
seriesLabels: {
enabled: true,
},
}
Example
Array of label options objects would disable labels for first level and enable labels for second level.
{
seriesLabels: [
{
enabled: false,
},
{
enabled: true,
},
],
}
tooltip
tooltip?:
object
Tooltip options object
Type declaration
tooltip.modemode?:
"contribution"|"value"Define mode of data showing
width
width?:
number
Total width of the component, which is considered in the following order of priority:
- Value passed to this property (in pixels)
- Width of the container wrapping this component
- Default value of 400px