Appearance
Axes by chart type
What each chart type does with axes. Always confirm sides after orientation remap.
| Chart type | Domain | Primary range | Secondary | Notes |
|---|---|---|---|---|
clusteredBar / stackedBar | Band categories | Linear values | Optional (rare) | Keep 0 in range for bars |
stackedBar100 | Band | Fixed 0–100, % ticks | – | Intervals divisors of 100 |
line | Band | Linear | First-class dual-axis | Zooming bounds OK; secondary via boundSeries |
stackedArea / stackedArea100 | Band | Linear / 0–100 % | – | Area usually includes zero |
pie / donut | Disabled | Disabled | – | No axes |
scatter / bubble | Linear X | Linear Y | – | Runtime forces linear domain |
waterfall | Band | Linear | – | Keep zero in play for bridges |
mekko | Linear 0–100 width | Linear 0–100 % stacks | – | Domain + range both %-ish |
barMekko | Linear width domain | Often visible: false | – | Totals + domain labels are enough without the value axis line |
combo | Band | Linear | Supported with boundSeries | Pair with combo.seriesTypes |
Detail
Bars & waterfalls
Value axis on left (vertical) or bottom (horizontal). Format + preferredTickInterval + optional gridlines. See Value axis and Horizontal bar sample.
100% stacks & mekko
Prefer preferredTickInterval: 20|25|50, bounds 0–100, postfix: '%'. Percent axis sample.
Line + dual axis
Secondary · Dual-axis line sample.
Scatter / bubble
Format both linear sides; ignore category fitMechanism / dateFormat unless you intentionally treat labels as categories (you usually do not).
Combo
Bars share the primary scale; bind the line (or other) series to secondary when units differ. Combo · Secondary.
Pie
Do not author axes for layout – they are disabled. Labels live in the pie config / data labels.
Hide / show
Only range roles can be hidden as axes (primaryRange, secondaryRange). Domain cannot. Bar Mekko hiding the primary line is a product default, not a missing axis.