Lattice Grid

Charts ยท console.warn

a chart cannot bind column "{col}": its type...

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

Warnings reference › chart:secret:*

Identifier
chart:secret:*
Raised by
Charts
Since
1.126.0

What happened

A chart binding named a secret column in a role that reads it by value - a dimension, series, measure, size, a flow's source or target, or a hierarchy's level, path, parent, id, label or radius. The bound categories, series keys, measures, node labels and link ends all carry the raw value back out whatever the label shows, so the binding is refused and the chart is empty.

The fix

Chart a different column, or do not chart this column.

The smallest fix

grid.charts.line({ x: 'date', y: 'revenue' });  // not the secret column

Reference

Covered in full at the API reference.