Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.68
    Preparing search index...

    Interface DashboardChartConfig

    Configuration for a single chart in the dashboard

    interface DashboardChartConfig {
    ย ย ย ย id: string;
    ย ย ย ย type: DashboardChartType;
    ย ย ย ย title: string;
    ย ย ย ย labels?: string[];
    ย ย ย ย datasets: DashboardDataset[];
    ย ย ย ย annotations?: DashboardAnnotation[];
    }
    Index

    Properties

    id: string

    Unique id used as the canvas element id

    Chart.js chart type

    title: string

    Chart title rendered above the canvas

    labels?: string[]

    Category labels (x-axis for bar/line), optional for scatter charts

    datasets: DashboardDataset[]

    One or more data series

    annotations?: DashboardAnnotation[]

    Optional annotation overlays (chartjs-plugin-annotation)