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

    Extends DashboardChartConfig with AI-provenance metadata.

    interface AIChartConfig {
    ย ย ย ย analysisNote: string;
    ย ย ย ย dataSource: string;
    ย ย ย ย confidence: number;
    ย ย ย ย id: string;
    ย ย ย ย type: DashboardChartType;
    ย ย ย ย title: string;
    ย ย ย ย labels?: string[];
    ย ย ย ย datasets: DashboardDataset[];
    ย ย ย ย annotations?: DashboardAnnotation[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    analysisNote: string

    Human-readable explanation of what this chart shows and how it was derived.

    dataSource: string

    Description of the documents / data that informed this chart.

    confidence: number

    0โ€“1 confidence score for this analysis (1 = high confidence).

    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)