Charts Axis
Axes translate your data values into positions on the chart — scale type, domain, ticks, and labels are all configured per axis.
Orbital shares one axis model across bar, line, and scatter charts: define axes by id, bind series to them, and use formatters when tick text should differ from tooltip text.
- Custom tick formatting (currency, percent, compact thousands).
- Band vs linear vs log scale selection for cartesian charts.
- Multi-axis layouts (biaxial scatter) — see
scatter-chartbiaxial example.
- Define
x_axisandy_axisasVec<AxisDef>on any cartesian chart or container. - Set
scale_type(Band,Linear,Log, etc.) per axis. - Attach
tick_formatcallbacks for currency or unit suffixes on ticks. - Cross-link from chart-type docs rather than duplicating full axis API on each page.
Band and linear axes with grid
Category band x-axis and linear y-axis with currency tick_format on y. Horizontal and vertical grid lines show how GridConfig pairs with axis definitions — start here before log or multi-axis setups.