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

    Interface GaugeConfig

    CSS-only gauge/dial configuration

    interface GaugeConfig {
    ย ย ย ย id: string;
    ย ย ย ย title: string;
    ย ย ย ย value: number;
    ย ย ย ย label?: string;
    ย ย ย ย minLabel?: string;
    ย ย ย ย maxLabel?: string;
    }
    Index

    Properties

    id: string

    Unique identifier used as the container element id

    title: string

    Chart title

    value: number

    Current value (0โ€“100)

    label?: string

    Optional descriptive label rendered below the value

    minLabel?: string

    Label for the low end (default: "0")

    maxLabel?: string

    Label for the high end (default: "100")