You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Area between two lines is not filled correctly when the steppedLine value is set to 'before' or 'after'.
Expected Behavior
Area between lines should be filled without overruns or leaving unfilled area.
Current Behavior
Area between two lines is not filled correctly when the steppedLine value is set to 'before' or 'after'.
Possible Solution
Area curve is built here, but the steppedLine value is interpreted incorrectly because the path is created in reverse order. I think we can use the flip argument to change the behavior in helpers.canvas.lineTo.
Area between two lines is not filled correctly when the
steppedLine
value is set to'before'
or'after'
.Expected Behavior
Area between lines should be filled without overruns or leaving unfilled area.
Current Behavior
Area between two lines is not filled correctly when the
steppedLine
value is set to'before'
or'after'
.Possible Solution
Area curve is built here, but the
steppedLine
value is interpreted incorrectly because the path is created in reverse order. I think we can use theflip
argument to change the behavior inhelpers.canvas.lineTo
.Chart.js/src/plugins/plugin.filler.js
Lines 211 to 214 in 530c613
Steps to Reproduce
See https://jsfiddle.net/5aszap5L/
Environment
The text was updated successfully, but these errors were encountered: