Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Vertical line chart fill above not working

Open sganis opened this issue 2 years ago • 0 comments

Expected behavior

Vertical line chart fill above not working. I am trying to fill 2 colors between 2 lines using the fill object, but the 'above' property is not working, and the chart is filled with the 'below' color.

Current behavior

It works as expected in horizontal lines, but when the line chart is vertical using indexAxis: 'y' the filler colors for above and below are not working, and both sides are filled with the 'below' color.

Reproducible sample

https://codepen.io/sganis/pen/LYaNbey

chart.js version

v4.4.1

sganis avatar Jan 06 '24 11:01 sganis