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-chart biaxial example.
  • Define x_axis and y_axis as Vec<AxisDef> on any cartesian chart or container.
  • Set scale_type (Band, Linear, Log, etc.) per axis.
  • Attach tick_format callbacks 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.

Q1Q2Q3Q4Quarter