meo-canvas - v8.1.4
    Preparing search index...

    Interface ChartDataset

    Represents a single dataset for a cartesian chart (like bar or line).

    • label: The name of the dataset (e.g., "Sales 2023").
    • data: An array of numeric values for this dataset.
    • color: Optional CSS color string for the entire dataset.
    interface ChartDataset {
        color?: string;
        data: number[];
        label: string;
    }
    Index
    color?: string

    Left unset, a colour is chosen from the built-in sequence by position.

    data: number[]

    One value per label on the category axis; a shorter array leaves the remaining slots empty.

    label: string

    Names the series in the legend.