ZoomCharts Documentation
ZoomCharts.Configuration.PieChartSlice
Methods
Properties
Whether to expand the slice as a default click behavior.
The fraction of the pie the slice covers. Note that this is represents the visual size,
not the value - for that you need to use percent
field.
Gets or sets the style of the label shown inside the slice. Use insideLabel.text
to specify the text that will be displayed.
Note that for backwards compatibility it is possible to set this property to a string directly - in this case the value will be
written the insideLabel.text
but also label.text
will be cleared.
Gets or sets the style of the external label. Use label.text
to specify the text that will be displayed.
Contains the original ID that is populated when the slice is being removed. This property
is important since once the removal animation starts, the id
property contains an auto-generated
ID.
The percentage of the value of this slice against the total value of the pie.
Note that value is already multiplied by 100, so if there are two equal slices, both would have the value of 50
, instead of 0.5
.
Swipe distance towards the center of the pie
Slice partial swipe distance