Lattice Grid Buy a licence

The grid (core) ยท console.warn

a 'history' shadow's 'window' only accepts {kind: 'time', span}; '{kind}' is not honoured (a plain count is already what 'depth' means, and a session has no span to divide into buckets), so it reported the original, unwindowed history.

Printed by The grid (core), prefixed [lattice], since 1.50.0.

Warnings referenceshadow.history.window.kind:*

Identifier
shadow.history.window.kind:*
Raised by
The grid (core)
Since
1.50.0

What happened

A history shadow keeps the recent values of a cell, and a window over it can only be a time window: a count is what depth already means, and a session has no span to bucket. The window is ignored and the shadow reports its full, unwindowed history.

The fix

Use { kind: 'time', span } (or minutes), or set depth for a plain count of readings.

Reference

Covered in full at the API reference.