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:

Desired result Value
Pie Chart with default type undefined
Pie Chart with specified type { type: PieChartTypes.PieChartWithLabelsOnSides }

Index

Properties

Properties

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