Charts ยท console.warn
a chart marker image URL was refused ({shown...
Printed by Charts, prefixed [lattice], since 1.86.0.
Warnings reference › chart:marker:unsafe-url:*
- Identifier
chart:marker:unsafe-url:*- Raised by
- Charts
- Since
- 1.86.0
What happened
A marker image URL came from the data with a scheme the chart will not write into an image: javascript:, vbscript:, file: or a data: URI that is not an image type. The points it was for kept the default marker. The key ends with the first 40 characters of the value.
The fix
Supply an https or relative URL, a blob: URL the page made, or a data:image/... URI; or clean the column the images are read from.
The smallest fix
createChart({ grid, container, type: 'scatter', x: 'x', y: 'y', marker: { image: 'https://example.com/logo.png' } });
Reference
Covered in full at the API reference.