Lattice Grid Buy a licence

Charts ยท console.warn

a rolling time window needs a continuous x axis; this chart bands its x values, so the window is ignored. Bind a date or numeric column to x.

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

Warnings referencechart.axis.window.band

Identifier
chart.axis.window.band
Raised by
Charts
Since
1.49.0

What happened

A rolling time window was configured on a chart whose x axis is banded - either the bound dimension is categorical, or the type is a bar, which always sits in a band whatever its dimension's type. A band has no domain to roll, so the window was ignored and every category is drawn.

The fix

Bind a date or numeric column to x and use a type that scales it (line, area, scatter, step), or drop the window.

Reference

Covered in full at the API reference.