The preview above is the live component gallery. Open it full size to switch between desktop and phone widths.
Options
Every other field is the line, area or bar block’s.
Examples
Several series per panel
Withsplit or several metrics, every panel draws the same series in the same colours, with one
key above the grid.
Behavior
- Panels are ordered largest first by the first metric over the period. A null value gets its own
panel,
(empty). - Up to 9 panels. Past that, the 8 largest show and the rest share one “Other (n more)” panel, recomputed from its rows, so a rate in Other is the real rate.
- A distinct count, a median or a non-additive SQL metric gets no Other panel; the card says how many values were left out.
- Every panel shares the axis and the value scale, so equal heights mean equal values.
sortandlimitapply to the whole chart. - Hovering one panel moves every panel to that period.
- On a line, area or vertical time-bar chart, zooming in one panel zooms all panels to the same buckets. They still share one value scale.
- The grid fits the card: up to 4 columns on wide cards, 2 on phones.
Checks
One bar of shares (a bar with
split and neither by nor grain) can’t be faceted.
hatchmark explain <code> explains a check and how to fix it.