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

fill: 'stack' does not work with stepped lines

Open kurkle opened this issue 3 years ago • 1 comments

Expected behavior

It should fill to the STEPPED line below

Current behavior

It fills to imaginary non-stepped line below:

image

Reproducible sample

https://codepen.io/kurkle/pen/mdKNNja

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

v4.1.0

Browser name and version

No response

Link to your project

No response

kurkle avatar Dec 16 '22 08:12 kurkle

I'm also running into this issue. I tried to work around it by adding additional points to simulate the steps myself, but that breaks the stacking even more

noahmayr avatar Nov 14 '23 11:11 noahmayr