• Public
  • Public/Protected
  • All

Interface PyramidChartOptions <PyramidChartType >

Interface that can be used to define PyramidChart configurations that can't be changed after creation.

Example usage:

Desired result Value
Pyramid Chart with default type undefined
Pyramid Chart with specified type { type: PyramidChartTypes.LabelsOnSides }



Optional disableAnimations

disableAnimations: undefined | false | true

Disable animations by default

Optional theme

theme: Theme

Theme used to style all elements inside the Chart. See Themes for pre-made options.

Optional type

Interface 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.