Charts ยท console.warn
a candlestick chart needs four measures - open, high, low and close, in that order - and only {n} were bound. Pass them as measures: [open, high, low, close].
Printed by Charts, prefixed [lattice], since 1.70.0.
Warnings reference › chart:*:incomplete
- Identifier
chart:*:incomplete- Raised by
- Charts
- Since
- 1.70.0
What happened
A type whose required inputs are not all present. A candlestick needs four measures in a fixed order; given fewer it drew nothing at all, and a chart that silently draws nothing is indistinguishable from a broken one, so the picture is refused and the empty state shown.
The fix
Pass all four measures, in order.
The smallest fix
createChart({ grid, container, type: 'candlestick', x: 'date', measures: ['open', 'high', 'low', 'close'] });
Reference
Covered in full at the API reference.