Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PieChartOptions<PieChartType>

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

Example usage:

// Pie Chart with default type
undefined
// Pie Chart with specified type
{ type: PieChartTypes.PieChartWithLabelsOnSides }

Index

Properties

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

type : PieChartType

Interface for specifying desired "type" of Pie Chart. This can be used to select different rendering approaches, mainly reflecting how Slice Labels are positioned.

Options are located in PieChartTypes collection. If undefined, will default to PieChartWithLabelsOnSides.