Optional animationsConvenience flag that can be used to enable/disable all animations in a component.
Optional Readonly cursorBuilder for the charts' auto cursor.
For most use cases, it is not recommended to use this, but rather setCursor for a more convenient API.
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: