Charts ยท console.warn
{n} reading(s) on the x axis{ column} were not drawn: stamped up to {lead} ahead of this device's clock, which is more than the {limit} ({share} of the {span} rolling window) a reading may run ahead and still move the window. This is a producer whose clock is wrong, not a window that is too narrow
Printed by Charts, prefixed [lattice], since 1.54.0.
Warnings reference › chart:*:x:window:ahead
- Identifier
chart:*:x:window:ahead- Raised by
- Charts
- Since
- 1.54.0
What happened
Readings arrived stamped further into the future than the rolling window's lead allowance. They are not drawn, and - more importantly - they are not allowed to carry the window, because a single badly fast producer would otherwise push every other producer's recent readings out of view. A chart whose only producer is fast therefore shows its empty state, and this line is why.
The fix
Fix the producer's clock, or stamp readings with a server time rather than a device time. Widening axis.x.window.span will not help: the readings are ahead of the window, not behind it.
Reference
Covered in full at the API reference.