Charts · console.warn
Unknown icon '{name}' on a network node; drew a plain disc instead. Register it with registerIcon or config.icons, or name a built-in.
Printed by Charts, prefixed [lattice], since 1.64.0.
Warnings reference › chart:icon:*
- Identifier
chart:icon:*- Raised by
- Charts
- Since
- 1.64.0
What happened
The grid has an icon registry and it holds no icon under that name. The node drew as a plain disc, so the chart is complete but unlabelled by icon.
The fix
Register the icon before the chart draws, or use one of the built-in names.
The smallest fix
createGrid(el, { icons: { server: { viewBox: '0 0 24 24', paths: ['…'] } } });
Reference
Covered in full at the API reference.