Enumeration of supported plot trace types. Use these values for the type field in MaidrLayer.
type
import { TraceType } from 'maidr/react';const layer = { id: '0', type: TraceType.BAR, ... };// Or use the string value directly:const layer2 = { id: '0', type: 'bar', ... }; Copy
import { TraceType } from 'maidr/react';const layer = { id: '0', type: TraceType.BAR, ... };// Or use the string value directly:const layer2 = { id: '0', type: 'bar', ... };
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).
Enumeration of supported plot trace types. Use these values for the
typefield in MaidrLayer.Example