Skip to content

grafit-charts


Interface: TreemapSeriesOptions

Extends

  • StandaloneSeriesBaseOptions

Properties

childrenField?

optional childrenField?: string


fills?

optional fills?: string[]

Inherited from

StandaloneSeriesBaseOptions.fills


groupHeaderHeight?

optional groupHeaderHeight?: number

Group header height.


id?

optional id?: string

Inherited from

StandaloneSeriesBaseOptions.id


itemPadding?

optional itemPadding?: number

Gap between tiles (2 by default).


label?

optional label?: Switchable & FontOptions & object

Tile labels (enabled by default, color is auto-contrast).

Type Declaration

formatter?

optional formatter?: (params) => string

Parameters
params
datum

Datum

label

string

value

number

Returns

string

placement?

optional placement?: "center" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right"

Placement within the tile (center by default).


labelField?

optional labelField?: string


showInLegend?

optional showInLegend?: boolean

Inherited from

StandaloneSeriesBaseOptions.showInLegend


sizeField?

optional sizeField?: string


type

type: "treemap"


visible?

optional visible?: boolean

Inherited from

StandaloneSeriesBaseOptions.visible