OptionaltitleOptionalselectorsOptionalorientationOptionaldomOptional DOM mapping hints. When provided, individual traces can opt-in to use these hints to map DOM elements to the internal row-major data grid without changing default behavior when omitted.
Optionalorder?: "row" | "column"Specify DOM flattening order for grid-like traces. 'row' => row-major, 'column' => column-major.
OptionalgroupDirection?: "reverse" | "forward"For segmented/dodged bars, control the per-column group/level iteration. 'forward' => iterate groups top-to-bottom (as previously domOrder='forward'). 'reverse' => iterate bottom-to-top (default).
OptionaliqrDirection?: "reverse" | "forward"For boxplots, control the Q1/Q3 edge mapping for IQR box. 'forward' => Q1=bottom, Q3=top (default for vertical) 'reverse' => Q1=top, Q3=bottom (for Base R vertical boxplots)
OptionalaxesAxis configuration including labels and optional formatting.
Optionalx?: stringOptionaly?: stringOptionalfill?: stringOptionalformat?: FormatConfigOptional formatting configuration for axis values. When provided, values displayed in text descriptions will be formatted.
OptionalviolinOptional display configuration for violin plot layers (VIOLIN_KDE and VIOLIN_BOX). Controls which summary statistics are shown in the violin box overlay.
Layer/trace definition containing plot type, data, and rendering configuration.