Properties
color
color: string
colorLinearGradient
delta
delta: number
Readonly id
id: string
isSelected
isSelected: boolean
labelOffset
labelStyle
oldValue
oldValue: number
radiusAdjustment
radiusAdjustment: number
shift
shift: number
showLabel
showLabel: boolean
text
text: string
value
value: number
Methods
getLabelText
- getLabelText(total: number): string
-
Parameters
Returns string
getPercentage
- getPercentage(total: number): number
-
Parameters
Returns number
onAttach
-
Parameters
Returns void
onDetach
-
Returns void
toJSON
-
When true (default value = true) a label is shown, else false