Lattice Grid Buy a licence

Charts ยท console.warn

{option}: the format string "{format}" is no...

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

Warnings reference › chart.format.string:*:*

Identifier
chart.format.string:*:*
Raised by
Charts
Since
1.86.1

What happened

A chart option (a tooltip, axis or label format given as a string) named a format the formatter could not compile. The option is ignored and the values are drawn unformatted. The key ends with the option name and the offending string.

The fix

Correct the format string, or give a formatter function instead.

The smallest fix

createChart({ grid, container, type: 'line', x: 'day', y: 'value', tooltip: { format: '#,##0.00' } });

Reference

Covered in full at the API reference.