Hi.
I am making a chart showing the average temperature for each hour. I would like to make the color of each bar smoothly change depending on the value (from blue, at low temperatures, to red, at high temperatures). Is it possible?
Looking at how it sets the bar colors I think you'll probably need to hack this one..
You could..
- Edit the source code (where I linked) and change how it sets the color. Keeping in mind that it will get overwritten if you update Radzen.
- Create a new component and override the
Render
method (just like it does in code I linked). - Use CSS to change the bar colors, where you loop through your data for each bar and create a
nth-child
CSS selector for each bar.
Thanks. The direction of thoughts is clear to me, I will figure out how it can be implemented.