Charts ยท console.warn
chart axis.x.scale "{scale}" is not a scale this chart draws. Use one of: {list}. The scale was chosen from the column instead.
Printed by Charts, prefixed [lattice], since 1.63.0.
Warnings reference › chart:x:scale:unknown:*
- Identifier
chart:x:scale:unknown:*- Raised by
- Charts
- Since
- 1.63.0
What happened
axis.x.scale named a scale the chart has no implementation for. It was ignored rather than guessed at, and the scale was chosen from the column's type as it would have been with no scale at all - so the chart still draws, possibly not on the axis you wanted.
The fix
Use one of the names listed in the message, or remove axis.x.scale and type the column instead.
Reference
Covered in full at the API reference.