--- url: https://chartbuddy.io/embed/docs/axes/by-chart-type.md --- > Docs index: [llms.txt](https://chartbuddy.io/embed/docs/llms.txt) # Axes by chart type What each chart type does with axes. Always confirm sides after [orientation](https://chartbuddy.io/embed/docs/concepts/orientation.md) 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 | Fully supported | Set range with `customMin` / `customMax`; 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](https://chartbuddy.io/embed/docs/axes/value-axis.md) and [Horizontal bar sample](https://chartbuddy.io/embed/docs/samples/horizontal-bar.md). ### 100% stacks & mekko Prefer `preferredTickInterval: 20|25|50`, bounds 0–100, `postfix: '%'`. [Percent axis sample](https://chartbuddy.io/embed/docs/samples/percent-axis.md). ### Line + dual axis [Secondary](https://chartbuddy.io/embed/docs/axes/secondary.md) · [Dual-axis line sample](https://chartbuddy.io/embed/docs/samples/dual-axis-line.md). ### 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](https://chartbuddy.io/embed/docs/chart-types/combo.md) · [Secondary](https://chartbuddy.io/embed/docs/axes/secondary.md). ### 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.