Lattice Grid Buy a licence

Charts ยท console.warn

chart annotate.tools names {count} tool(s) t...

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

Warnings reference › chart:annotate:tools:*

Identifier
chart:annotate:tools:*
Raised by
Charts
Since
1.72.0

What happened

A chart's annotate.tools listed one or more names that are not drawing tools, so those entries select nothing. The rail is still built from whichever names were recognised, which is why a mistyped tool shows as a missing button rather than as an error.

The fix

Use the tool names as declared: select, trendLine, horizontalLine, verticalLine, channel, fibonacci, arrow, text, callout, note, delete. Omit tools entirely for the whole rail.

The smallest fix

createChart({ grid, container, type: 'line', annotate: { tools: ['select', 'trendLine', 'delete'] } });

Reference

Covered in full at the API reference.