Charts ยท console.warn
chart "marker" needs an "image": an icon nam...
Printed by Charts, prefixed [lattice], since 1.86.0.
Warnings reference › chart:marker:no-image
- Identifier
chart:marker:no-image- Raised by
- Charts
- Since
- 1.86.0
What happened
The chart's marker option was given without an image, so there is nothing to draw at a point and the default markers were kept.
The fix
Give marker.image an icon name, an image URL, { col: 'columnId' } to read one per row, or a function of the point.
The smallest fix
createChart({ grid, container, type: 'scatter', x: 'x', y: 'y', marker: { image: { col: 'logo' }, size: 20 } });
Reference
Covered in full at the API reference.