Variable PyramidChartTypesConst

PyramidChartTypes: {
    LabelsInsideSlices: typeof PyramidChartWithLabelsInsideSlices;
    LabelsOnSides: typeof PyramidChartWithLabelsOnSides;
} = ...

Collection of PyramidChart implementations. Each option can have their own visual type, and API for customization of it.

This must be specified when the PyramidChart is created (or default one will be used).

Example usage:

// Create a PyramidChart with default type
LightningChart.Pyramid()
// Create a PyramidChart with specified type
LightningChart.Pyramid({ type: PyramidChartTypes.LabelsInsideSlices })

Type declaration

  • LabelsInsideSlices: typeof PyramidChartWithLabelsInsideSlices

    Pyramid Chart type, where Slice Labels inside the Slices.

  • LabelsOnSides: typeof PyramidChartWithLabelsOnSides

    Pyramid Chart type, where Slice Labels are positioned on the either left or right sides of Chart. The side can be set using setLabelSide Labels are connected to their Slices with lines, which can be styled using unique API for this Pyramid Chart type.