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', ... };
Enumeration of supported plot trace types. Use these values for the
typefield in MaidrLayer.Example