Lattice Grid Buy a licence

Charts ยท console.warn

chart "ramp.scale" was "{scale}", which is n...

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

Warnings reference › chart:ramp:scale:*

Identifier
chart:ramp:scale:*
Raised by
Charts
Since
1.75.0

What happened

ramp.scale names how a value is placed along a colour ramp, and only linear, log and quantile exist. The unknown name was ignored and the default rule applied: log when the positive values span more than 100:1, linear otherwise.

The fix

Set ramp.scale to 'linear', 'log' or 'quantile', or leave it out to let the chart choose.

The smallest fix

ramp: { scale: 'quantile' }

Reference

Covered in full at the API reference.