ZoomCharts Documentation


Describes a single slice in the data. Can include the nested items for that slice as well.

Inheritance hierarchy

This type inherits from FacetChartDataObjectCommon. Through this type it also inherits members from BaseDataObjectBase.


This type does not define any methods.


extra: any
Inherited from: BaseDataObjectBase

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.

id: string

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.

name: string

The name of the slice that will be used as the default label text.

Styles specific to the particular item. Most styles are only applicable if the facetchart shows columns.

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.

value: number

The numeric value of the slice. This is used to calculated the size of the slice.