RadCartesianChart LineSeries change color on a line depending on the value.
I would like the possibility to change the color of a line depending on the value.
I have values between -1 to 10.
If the value is -1 I would like the color (or possible the opacity) to change until it goes back to 0 or above.
Posted on:10 Feb 2021 07:09
Thank you I'll try it out.
Posted on:09 Feb 2021 10:55
I've attached a small example showing how to achieve your requirement using a LinearGradientBrush assigned to the LineSeries' Stroke property. Can you please give it a try and let me know if this is what you need?
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.