Charts ยท console.warn
{notice}
Printed by Charts, prefixed [lattice], since 1.86.0.
Warnings reference › chart:*:notice:*
- Identifier
chart:*:notice:*- Raised by
- Charts
- Since
- 1.86.0
What happened
A shape or timeline chart (pictorial, serpentine, spiral) noticed something about its input while binding and drew what it could rather than guess. The id after notice: says what: shape-rejected (a pictorial shape was neither a registered icon name nor SVG path data, so the built-in figure was drawn), undated (rows with no readable date are left off a timeline rather than placed at an invented moment) or period (a spiral period could not be read, so one turn per week was drawn).
The fix
Give the option a value it names: a registered icon name or a path string of commands and numbers only; a date column of dates, ISO strings or epoch milliseconds; a spiral period of 'day', 'week', 'year' or a duration such as '28d'.
The smallest fix
createChart({ grid, container, type: 'spiral', x: 'at', spiral: { period: '28d' } });
Reference
Covered in full at the API reference.