Interface: PieOptions
Defined in: layers/pie.ts:14
Properties
center?
optional center?: [number, number];Defined in: layers/pie.ts:22
Center in data space. Default [0, 0].
colormap?
optional colormap?: ColormapSpec;Defined in: layers/pie.ts:20
Color slices by index through this colormap instead of the palette.
colors?
optional colors?: (string | Color)[];Defined in: layers/pie.ts:18
Explicit per-slice colors; falls back to colormap, then a default palette.
innerRadius?
optional innerRadius?: number;Defined in: layers/pie.ts:26
Inner radius (> 0 makes a donut). Default 0.
name?
optional name?: string;Defined in: layers/pie.ts:31
radius?
optional radius?: number;Defined in: layers/pie.ts:24
Outer radius in data units. Default 1.
renderType?
optional renderType?: RenderType;Defined in: layers/pie.ts:30
Buffer-usage hint; set "dynamic" when streaming via setData. Default "static".
startAngle?
optional startAngle?: number;Defined in: layers/pie.ts:28
Angle of the first slice edge, radians. Default Math.PI / 2 (12 o'clock).
values
values: ArrayLike<number>;Defined in: layers/pie.ts:16
Slice magnitudes (need not sum to 1 — they are normalized).
yAxis?
optional yAxis?: string;Defined in: layers/pie.ts:32