Lattice Grid Buy a licence

Charts ยท console.warn

a rangeArea chart fills the band between two...

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

Warnings reference › chart:*:rangearea:form

Identifier
chart:*:rangearea:form
Raised by
Charts
Since
1.86.1

What happened

A rangeArea chart was given y (and perhaps y2) or fewer than two measures. The band is drawn only from measures: [low, high], the first measure the lower edge and the second the upper one, so any other form drew a plain area of y from the axis floor instead of a band. The id carries the chart's own id.

The fix

Give the chart two measures in low, high order; a third measure typed line draws the centre line over the band.

The smallest fix

createChart({ grid, container, type: 'rangeArea', x: 'at', measures: ['avg', 'peak'] });

Reference

Covered in full at the API reference.