ZoomCharts Documentation
ZoomCharts.Configuration.PieChartSettingsInteraction
Inheritance hierarchy
This type inherits from BaseSettingsInteraction.
Methods
Properties
If true, empty donut center area reacts to clicks.
Interaction mode. Note that selection.enabled
can be used to disable the selection completely.
- drilldown - performs drill down on click, if item is not expandable, selects it
- select - selects items
- toggle - toggle selects items.
Slice including all the values that can not be displayed as a separate slice. Use them to configure 'others' slice rendering space.
Properties
If true, when offset > 0 click on center acts as click on previous slice.
Enable/Disable Others/Previous slices.
Max size of others slice, as a fraction of 1. If others slice is bigger than this, it will be made smaller and other slices proportionally expanded.
Max number of slices to show. All remaining slices will be replaced by 'Others' slice.
Minimum slice size as fraction of full pie. All slices smaller than that are replaced with 'Others' slice.
Minimum number of slices the pie needs to have for it to show the Others
slice. Note that
once this limit is reached the Others
slice may also contain all but one of the slices - this
setting does not limit the minimum number of slices that are shown at once in such case.
If you set this property to a value greater than 1, it might be useful to set slice.minFraction
to a value of 0.01
or greater.
Controls chart resize handles.
It's a horizontal line right below any chart to handle whole chart resizes by small steps.
Note that the full screen button used as a main alternative to get a full screen by one click.
One of interactivity option to scroll among data.
Properties
Enable/disable scrolling the Other/Previous slices by rotating the chart.
One of interactivity option to use the data selection.
Properties
Enable/disable selection.
Max cutout distance on swipe.
Allows partial selecting of slices by gradually dragging them outwards. If this is set to true
, the slices will not snap to true/false positions
instead the API will provide information on how far they were pulled out.
Wether to select slice by swipe. Note that it works independently of selection mode.
Pixels the pointer has to be moved before the motion is recognized as a swipe.
Selection distance tolerance.