meo-canvas
    Preparing search index...

    Interface PieChartDataPoint

    One slice of a pie or doughnut.

    interface PieChartDataPoint {
        color?: string;
        label: string;
        value: number;
    }
    Index
    color?: string

    The slice's colour. Absent takes the next colour from the built-in cycle.

    label: string

    The slice's name, shown in the legend.

    value: number

    The slice's size, as a share of the total of every value.

    Not a percentage: the values are summed and each slice takes its proportion, so they need not add to anything in particular.