meo-canvas
    Preparing search index...

    Interface ChartDataset

    One series of a cartesian chart.

    interface ChartDataset {
        color?: string;
        data: readonly number[];
        label?: string;
    }
    Index
    color?: string

    The series colour. Absent takes the next colour from the built-in cycle.

    data: readonly number[]

    One value per category, in the same order as CartesianChartData.labels.

    A series shorter than the labels leaves the trailing categories empty rather than shifting; the two are matched by position, not zipped.

    label?: string

    The series name, shown in the legend. Absent leaves it out of the legend.