EU Parliament Monitor - API Documentation - v0.7.7
    Preparing search index...

    Interface ChartDataset

    A single dataset within a chart. Maps to Chart.js dataset configuration.

    interface ChartDataset {
        label: string;
        data: readonly number[];
        backgroundColor?: string | readonly string[];
        borderColor?: string | readonly string[];
    }
    Index

    Properties

    label: string

    Dataset label (shown in legend)

    data: readonly number[]

    Numeric data points

    backgroundColor?: string | readonly string[]

    Background color(s) — single color or array for per-point colors

    borderColor?: string | readonly string[]

    Border color(s) — single color or array for per-point colors