Interface: PartValueLabelOptions<P>
The value half of a part label. type chooses what the number says: the share of the total, or the value itself.
Extends
Type Parameters
P
P = unknown
Properties
color?
optionalcolor?:string
Inherited from
enabled?
optionalenabled?:boolean
Inherited from
fontFamily?
optionalfontFamily?:string
Inherited from
fontSize?
optionalfontSize?:number
Inherited from
fontStyle?
optionalfontStyle?:FontStyle
Inherited from
fontWeight?
optionalfontWeight?:FontWeight
Inherited from
format?
optionalformat?:string
Serializable format string (',.2f', '.0%').
formatter?
optionalformatter?: (params) =>string
Parameters
params
P
Returns
string
type?
optionaltype?:"percent"|"value"
'percent' — share of the total; 'value' — the value field itself.