Lattice Grid

KPI ยท console.warn

KPI tile format "{type}" is not understood; ...

Printed by KPI, prefixed [lattice], since 1.127.0.

Warnings reference › kpi:format:*

Identifier
kpi:format:*
Raised by
KPI
Since
1.127.0

What happened

A tile named a format type the panel does not implement (for example format: 'integer'). The tile still renders its value, as a plain number, but the requested format was dropped rather than applied, so the digits may not read the way the tile intended.

The fix

Use one of the supported types - number, currency, percent or compact - or an object form such as { type: 'number', decimals: 1 }.

The smallest fix

tiles: [{ id: 'avg', label: 'Average', aggregation: 'avg', field: 'amount', format: 'number' }]

Reference

Covered in full at the API reference.