Lattice Grid Buy a licence

Charts ยท console.warn

editable.distribute shares a new total betwe...

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

Warnings reference › chart:editable:distribute

Identifier
chart:editable:distribute
Raised by
Charts
Since
1.86.0

What happened

editable.distribute was set and a reader dragged a mark whose measure is reduced with min, max, median, count or another function with no total to share out, so nothing was written.

The fix

Reduce the measure with sum or avg (y: { col: 'sales', fn: 'sum' }), or chart one row per mark.

The smallest fix

createChart({ grid, container, type: 'bar', x: 'region', y: { col: 'sales', fn: 'sum' }, editable: { distribute: 'first' } });

Reference

Covered in full at the API reference.