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
Section titled “Type Declaration”defaultColor
Section titled “defaultColor”
readonlydefaultColor:PropertySchema<string,"color",false>
offset
Section titled “offset”
readonlyoffset:PropertySchema<number,"number",true>
slices
Section titled “slices”
readonlyslices:ArrayPropertySchema<{color:PropertySchema<string,"color",true>;value:PropertySchema<number,"number",true>; }>