Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

CreateNodePiechartProgramOptions

Defined in: packages/node-piechart/src/types.ts:37

Options for creating a node piechart program.

Properties

defaultColor?

optional defaultColor?: string

Defined in: packages/node-piechart/src/types.ts:53

Default color to use when no slices are visible. Default: “#000000”


offset?

optional offset?: ValueSource<number>

Defined in: packages/node-piechart/src/types.ts:47

Offset angle for the piechart in radians. Default: 0


slices

slices: FactoryOptionsFromItemSchema<{ color: PropertySchema<string, "color", true>; value: PropertySchema<number, "number", true>; }>[]

Defined in: packages/node-piechart/src/types.ts:41

Array of slice definitions.