Riksdagsmonitor Intelligence Platform - v0.7.19
    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[];
    }

    Hierarchy (View Summary)

    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)