ZoomCharts.Configuration.PieChartSettingsInteraction
Inheritance hierarchy
This type inherits from BaseSettingsInteraction.
Methods
This type does not define any methods.
Properties
Chart animation settings.
► Properties
Duration of hover animation.
If true, empty donut center area reacts to clicks.
Interaction mode. Note that selection.enabled
can be used to disable the selection completely.
Valid values:
- 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.
Introduced in version 1.12.0.
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.
Version 1.12.0: the settings correctly applies to Others
slice.
Others and Previous slice size as fraction of full pie.
Previous will always be this big.
Other will be at least this big but no bigger than maxOthersFraction.
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 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.