Lattice Grid Buy a licence

Charts ยท console.warn

"cursor" is not drawn on small multiples: ea...

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

Warnings reference › chart:*:cursor:multiples

Identifier
chart:*:cursor:multiples
Raised by
Charts
Since
1.86.0

What happened

cursor was set on a chart with multiples. The panels share one scale and are read as a set, so a single crosshair has no one plot to sit on; no cursor was drawn.

The fix

Remove multiples, or build one chart per panel and give each a cursor with the same group so they share it by value.

The smallest fix

createChart({ grid, container, type: 'line', x: 'day', y: 'price', cursor: { group: 'panels' } });

Reference

Covered in full at the API reference.