Open nikmace opened 1 month ago
I can only apply the gradient below the line.
Currently the Line chart looks like this:
The gradient appears on the opposite side of the line, meaning from the line to the top of the chart.
And I want to make the gradient like this: (so it appears where I have drawn white lines, so it is inverted in relation to the line)
No response
You can specify the fill as an object and set the above property: https://www.chartjs.org/docs/4.4.3/charts/area.html#example-with-multiple-colors
Feature Proposal
I can only apply the gradient below the line.
Currently the Line chart looks like this:
What is the expected behavior?
The gradient appears on the opposite side of the line, meaning from the line to the top of the chart.
And I want to make the gradient like this: (so it appears where I have drawn white lines, so it is inverted in relation to the line)
Possible Implementation
No response