Lattice Grid Buy a licence

Charts ยท console.warn

chart zoom.axes is {value}, which is not an ...

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

Warnings reference › chart:zoom:axes:*

Identifier
chart:zoom:axes:*
Raised by
Charts
Since
1.72.0

What happened

A chart's zoom.axes named something other than x, y or xy, so it could not say which axes the zoom acts on. The zoom was still added, acting on the x axis, rather than being dropped entirely.

The fix

Use axes: 'x' (the default), 'y' for the measure axis alone, or 'xy' for both.

The smallest fix

createChart({ grid, container, type: 'line', zoom: { axes: 'xy' } });

Reference

Covered in full at the API reference.