ZoomCharts Documentation
ZoomCharts.Configuration.PieChartDataObject
Describes a single slice in the data. Can include the nested items for that slice as well.
Inheritance hierarchy
This type inherits from PieChartDataObjectCommon. Through this type it also inherits members from BaseDataObjectBase.
Methods
Properties
Store any additional data values within this field. Although it is possible to extend the data object itself with additional fields it is not recommended to do so because a future ZoomCharts version could introduce a known parameter with the same name thus changing the behavior of an existing chart.
The ID of the slice. Note that if the ID is set then by default the chart assumes that the
slice is expandable. To avoid this, set style.expandable
to false
.
The slice ID is used to load the nested items and is the same value as the ID of the inner pie
object.
The name of the slice that will be used as the default label text.
The name of the slice that will be displayed in the legend. If this is not set, the slice label
is used and if that is not set, then the name
property is used instead.
Styles specific to the particular slice.
Optional subvalues for drilldown. If subvalues are available, then you can either specify them directly, or provide
id
and let the chart request them separately.
The numeric value of the slice. This is used to calculated the size of the slice.