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.

columnIndex: number

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

columnSpan?: number

Column span (X width), default = 1

cursorBuilder?: CursorBuilder2D<UIBackground>

Builder for the charts' auto cursor.

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

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.