ZoomCharts Documentation
ZoomCharts.Configuration.PieChartChartClickEventArguments
Describes the base properties shared between all events raised by the different charts.
Inheritance hierarchy
This type inherits from PieChartChartEventArguments. Through this type it also inherits members from BaseChartEventArguments.
Methods
Properties
The chart object for which the event has been raised.
Contains the label object that was clicked or null
if none was.
Specifies the source of the click event.
Valid values:- back - the "Back" button in the center of the piechart was clicked.
- slice - the slice itself was clicked.
- label - the outside label was clicked.
- insideLabel - the inside label was clicked.
- legend - the legend was clicked.
Contains the pie that was clicked. It is possible that this is set while clickSlice
is not if the small
pie in the center of the chart (under the Back
button) is hovered.
Contains the slice that was clicked. Note that this will also be populated when the label of the slice is clicked.
The total number of slices currently visible (without counting Previous
and Others
).
Contains the label object if one is currently hovered, null
otherwise.
Contains the currently hovered pie. This can be set while hoverSlice
is not if the small
pie in the center of the chart (under the Back
button) is hovered.
Contains the currently hovered slice. Note that this will also be populated when the label of the slice is hovered.
The number of slices that are hidden in the Previous
slice.
This will be null
if the chart has not been rendered.
The currently open pie object of the chart.
A list of currently selected slices. Note that changes to this array does not result in
changes to the selection, use selection()
API
method for that.