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

    Enumeration TraceType

    Enumeration of supported plot trace types. Use these values for the type field in MaidrLayer.

    import { TraceType } from 'maidr/react';
    const layer = { id: '0', type: TraceType.BAR, ... };
    // Or use the string value directly:
    const layer2 = { id: '0', type: 'bar', ... };
    Index

    Enumeration Members

    BAR: "bar"
    BOX: "box"
    CANDLESTICK: "candlestick"
    CANDLESTICK_DELTA: "candlestick_delta"

    Virtual layer comparing candlestick OHLC fields against a reference line (e.g. a moving average). Never declared in MAIDR JSON — created at runtime by the candlestick delta feature (Alt+L to toggle, Ctrl+Shift+L to pick the reference line).

    DODGED: "dodged_bar"
    HEATMAP: "heat"
    HISTOGRAM: "hist"
    LINE: "line"
    NORMALIZED: "stacked_normalized_bar"
    SCATTER: "point"
    SMOOTH: "smooth"
    STACKED: "stacked_bar"
    VIOLIN_BOX: "violin_box"
    VIOLIN_KDE: "violin_kde"