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


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


type

type: "sunburst"


visible?

optional visible?: boolean

Inherited from

StandaloneSeriesBaseOptions.visible