piechartSchema
constpiechartSchema:object
Defined in: packages/node-piechart/src/types.ts:19
Schema for the piechart layer.
Properties:
- slices: Array of slice definitions (color and value)
- offset: Offset angle in radians (can be variable)
- defaultColor: Color when no slices are visible
Type Declaration
defaultColor
readonlydefaultColor:PropertySchema<string,"color",false>
offset
readonlyoffset:PropertySchema<number,"number",true>
slices
readonlyslices:ArrayPropertySchema<{color:PropertySchema<string,"color",true>;value:PropertySchema<number,"number",true>; }>