API / Series/Treemap / TreemapSeries

Defined in: src/types/chart/treemap.ts:21

Extends

Type Parameters

Type Parameter Default type
T MeaningfulAny

Properties

Property Type Description
color? string The main color of the series (hex, rgba).
cursor? string You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked.
data TreemapSeriesData<T>[] -
dataLabels? object & object Options for the series data labels, appearing next to each data point.
layoutAlgorithm? "slice" | "binary" | "dice" | "slice-dice" | "squarify" -
legend? ChartLegend & object Individual series legend options. Has higher priority than legend options in widget data.
levels? object[] Set options on specific levels. Takes precedence over series options, but not point options.
name string The name of the series (used in legend, tooltip etc).
type "treemap" -
visible? boolean Initial visibility of the series