Skip to content

Interface: SunburstOptions

Defined in: charts/sunburst.ts:85

Options for addSunburst.

Properties

colors?

ts
optional colors?: string[];

Defined in: charts/sunburst.ts:90

Explicit palette, cycled by node index. Falls back to a built-in palette.


name?

ts
optional name?: string;

Defined in: charts/sunburst.ts:93


opacity?

ts
optional opacity?: number;

Defined in: charts/sunburst.ts:92

Fill opacity, 0..1. Default 1.


renderType?

ts
optional renderType?: RenderType;

Defined in: charts/sunburst.ts:95

Buffer-usage hint; set "dynamic" when streaming. Default "static".


ringWidth?

ts
optional ringWidth?: number;

Defined in: charts/sunburst.ts:88

Radial thickness of each depth ring, in data units. Default 1.


root

ts
root: SunburstNode;

Defined in: charts/sunburst.ts:86

MIT licensed. WebGL2 required.