Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

createStat: `visual` is "{visual}"; use 'rin...

Printed by The grid (rendering), prefixed [lattice], since 1.111.0.

Warnings reference › stat.visual.*

Identifier
stat.visual.*
Raised by
The grid (rendering)
Since
1.111.0

What happened

visual names how a KPI tile draws its value, and only 'ring' and 'gauge' exist. The tile is built as the plain number instead, so nothing is lost but the drawing.

The fix

Set visual to 'ring' or 'gauge', or remove it.

The smallest fix

createStat({ grid, container, of: 'score', fn: 'avg', target: 100, visual: 'ring' });

Reference

Covered in full at the API reference.