KPI ยท console.warn
kpi: tile ids contain dots; set `tree` to render them as a hierarchy.
Printed by KPI, prefixed [lattice], since 1.68.0.
Warnings reference › kpi:tree:dotted-id
- Identifier
kpi:tree:dotted-id- Raised by
- KPI
- Since
- 1.68.0
What happened
Tile ids look like paths (sales.emea.uk) but tree was not configured, so the panel rendered them flat - every tile side by side, with its full dotted id as its identity. The hierarchy is opt-in on purpose: turning it on automatically would re-arrange existing panels whose ids merely happen to contain a dot.
The fix
Set tree: true to render the dots as levels, or tree: false to say the flat layout is intended and silence this.
The smallest fix
createKPI(el, { rows, tiles, tree: true });
Reference
Covered in full at the API reference.