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 typeInterface for specifying desired "type" of Pyramid Chart. This can be used to select different rendering approaches, mainly reflecting how Slice Labels are positioned.
Options are located in PyramidChartTypes collection. If undefined, will default to PyramidChartWithLabelsOnSides.
Interface for readonly configuration of PyramidChart.
Some properties of
PyramidChartcan 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
PyramidChart, more parameters are documented in Pyramid.For dashboard
PyramidChart, more parameters are documented in createPyramidChart.Commonly used properties:
Example usage: