Lattice Grid Buy a licence

Charts ยท console.warn

chart x column "{col}" is drawn on a {time|continuous} axis, and not one of its {n} value(s) reads as a {date|number} - so the axis would be drawn over a domain invented from nothing rather than measured from the data. Remove axis.x.scale to let the column choose its own scale, or type the column so its values parse.

Printed by Charts, prefixed [lattice], since 1.70.0.

Warnings referencechart:*:no-domain

Identifier
chart:*:no-domain
Raised by
Charts
Since
1.70.0

What happened

A continuous x axis was asked for and the values yield no extent, so every coordinate on the axis would be invented: a text column pinned to scale: 'linear' drew a line against an axis labelled 0.0 to 1.0, and pinned to 'time', against two ticks at the epoch. There is no honest picture, so none is drawn. A *zero-width* extent is different and still draws - one reading padded to an interval around itself is the truthful picture of one reading.

The fix

Remove axis.x.scale and let the column choose its own scale, or type the column so its values parse as dates or numbers.

Reference

Covered in full at the API reference.