MAIDR Documentation - v3.72.1
    Preparing search index...

    Interface VegaLiteChannelDef

    Subset of a Vega-Lite channel definition fields read by the adapter.

    Note on field: inside a repeat spec's child, Vega-Lite allows a repeat reference object ({ repeat: 'row' | 'column' | 'repeat' }) instead of a field name. The adapter substitutes those references with concrete field names (per repeated cell) before any conversion runs, so every code path past substituteRepeatFields only ever sees strings.

    interface VegaLiteChannelDef {
        field?: string;
        type?: string;
        aggregate?: string;
        title?: string;
        axis?: { title?: string } | null;
        bin?: boolean | Record<string, unknown>;
        stack?: string | boolean | null;
    }
    Index

    Properties

    field?: string
    type?: string
    aggregate?: string
    title?: string
    axis?: { title?: string } | null
    bin?: boolean | Record<string, unknown>
    stack?: string | boolean | null