Optional animationsConvenience flag that can be used to enable/disable all animations in a component.
Optional Readonly autoBuilder for the charts' auto cursor.
For most use cases, it is not recommended to use this, but rather setAutoCursor for a more convenient API.
Optional disableConvenience flag that can be used to disable all animations in a component.
Deprecated in v5.0.0. Use animationsEnabled instead (note that value should be inverted from previous applications!)
Optional typeSpecify pie chart visual design from a collection of options.
Options are located in PieChartTypes collection. If undefined, will default to PieChartTypes.LabelsOnSides.
Interface for readonly configuration of PieChart.
Some properties of
PieChartcan only be configured when it is created. These arguments are all optional, and are wrapped in a single object parameter:Watch out! The full set of available readonly configuration parameters depends on if the chart is standalone, or inside a dashboard:
For standalone
PieChart, more parameters are documented in Pie.For dashboard
PieChart, more parameters are documented in createPieChart.Commonly used properties:
Example usage: