MAIDR Documentation - v3.73.0
    Preparing search index...

    Interface ChartJsDataset

    A single dataset in a Chart.js chart.

    interface ChartJsDataset {
        label?: string;
        data: ChartJsDataValue[];
        type?: string;
        stack?: string;
        xAxisID?: string;
        yAxisID?: string;
        backgroundColor?: string | string[];
        borderColor?: string | string[];
    }
    Index

    Properties

    label?: string
    type?: string
    stack?: string
    xAxisID?: string

    Id of the x scale this dataset is plotted against (defaults to 'x').

    yAxisID?: string

    Id of the y scale this dataset is plotted against (defaults to 'y').

    backgroundColor?: string | string[]
    borderColor?: string | string[]