Lattice Grid Buy a licence

Charts ยท console.warn

a heatmap zooms its columns (the x axis) onl...

Printed by Charts, prefixed [lattice], since 1.87.0.

Warnings reference › chart:*:zoom:heatmap:axes

Identifier
chart:*:zoom:heatmap:axes
Raised by
Charts
Since
1.87.0

What happened

zoom.axes on a heatmap named y or xy. A heatmap's columns are a band of categories like a bar chart's and zoom to a contiguous run of them; its rows are its series, another band, with no measure axis to narrow. The zoom was added on the columns rather than dropped.

The fix

Leave zoom.axes at its default, 'x', on a heatmap.

The smallest fix

createChart({ grid, container, type: 'heatmap', x: 'day', measures: ['north', 'south'], zoom: true });

Reference

Covered in full at the API reference.