Interface PyramidOptions<PyramidChartType>

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

Example usage:

// Pyramid Chart with default type
undefined
// Pyramid Chart with specified type
{ pyramidOptions: { type: PyramidChartTypes.LabelsInsideSlices } }

Type Parameters

Hierarchy

Properties

animationsEnabled?: boolean

Convenience flag that can be used to enable/disable all animations in a component.

autoCursorBuilder?: AutoCursor2DBuilder<UIBackground>

Builder for the charts' auto cursor.

For most use cases, it is not recommended to use this, but rather setAutoCursor for a more convenient API.

columnIndex: number

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

columnSpan?: number

Column span (X width), default = 1

disableAnimations?: boolean

Convenience flag that can be used to disable all animations in a component.

Deprecated

Deprecated in v5.0.0. Use animationsEnabled instead (note that value should be inverted from previous applications!)

rowIndex: number

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

rowSpan?: number

Row span (Y height), default = 1

type?: PyramidChartType

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.