Skip to content

grafit-charts


Interface: SunburstSeriesOptions

Extends

  • StandaloneSeriesBaseOptions

Properties

childrenField?

optional childrenField?: string


cornerRadius?

optional cornerRadius?: number

Sector corner radius.


fills?

optional fills?: string[]

Inherited from

StandaloneSeriesBaseOptions.fills


id?

optional id?: string

Inherited from

StandaloneSeriesBaseOptions.id


label?

optional label?: Switchable & FontOptions & object

Sector labels (disabled by default; color is auto-contrast).

Type Declaration

formatter?

optional formatter?: (params) => string

Parameters
params
depth

number

label

string

value

number

Returns

string


labelField?

optional labelField?: string


name?

optional name?: string

Name of what the value of a node measures — the label of the tooltip row. Without it the row is named by the data key the value came from, which is the name of a column, not of a measure.

Inherited from

StandaloneSeriesBaseOptions.name


sectorSpacing?

optional sectorSpacing?: number

Constant-width gap between sectors (px), same as pie.


showInLegend?

optional showInLegend?: boolean

Inherited from

StandaloneSeriesBaseOptions.showInLegend


sizeField?

optional sizeField?: string


stroke?

optional stroke?: string

Sector stroke (by default a 1px background-colored stroke when sectorSpacing is zero).


strokeWidth?

optional strokeWidth?: number


tooltip?

optional tooltip?: Switchable & object

Type Declaration

renderer?

optional renderer?: (params) => string | TooltipContentData

Parameters
params

NodeTooltipRendererParams

Returns

string | TooltipContentData

Inherited from

StandaloneSeriesBaseOptions.tooltip


type

type: "sunburst"


visible?

optional visible?: boolean

Inherited from

StandaloneSeriesBaseOptions.visible