CreateNodePiechartProgramOptions
Defined in: packages/node-piechart/src/types.ts:37
Options for creating a node piechart program.
Properties
defaultColor?
optionaldefaultColor?:string
Defined in: packages/node-piechart/src/types.ts:53
Default color to use when no slices are visible. Default: “#000000”
offset?
optionaloffset?: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.