Closed MishaPadalka closed 4 months ago
not sure what you mean. Could adding Stops to your gradient solve your problem? You could use them to define hard edges. https://css-tricks.com/books/greatest-css-tricks/hard-stop-gradients/
Yes, you can add stops to your gradient to achieve the result.
Check the LinearGradient and stops property. You can use it in the gradient
property of LineChartBarData
I mean to have something like that, when the color of the line depends on the y value of the spot