Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PieOptions<PieChartType>

Interface that can be used to define PieChartconfigurations, when inside a Dashboard, that can't be changed after creation.

Example usage:

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

Index

Properties

columnIndex

columnIndex : number

Column index on dashboard (X location, 0 = left)

Optional columnSpan

columnSpan : undefined | number

Column span (X width), default = 1

Optional disableAnimations

disableAnimations : undefined | false | true

Disable animations by default

rowIndex

rowIndex : number

Row index on dashboard (Y location, 0 = top)

Optional rowSpan

rowSpan : undefined | number

Row span (Y height), default = 1

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.