Telerik,
Our development team use your WPF controls, in particular, this issue deals with the RadChart control. I have a need to change the color on an individual bar without changing the other bar colors in the data series, and I need to do this in code-behind.
I've attached a picture of my chart output. In the example, the y-axis is minutes and the x-axis is divided into four categories (3,10,11,18). Each category could display up to three bars. Based on a threshold per category/bar, a single bar could change color. For example, bar 2 under category 3 may need to turn red, but I don't want any of the other bars to turn red (just that bar only).
At the DataPoint level, I'm updating dp.YValue and dp.Tooltip for each bar, and it is at this level that I make a decision about the bar's color based on the YValue.
The entire chart (RadChart) is being created in code-behind (no XAML). How can I accomplish this task?
Thanks,
Our development team use your WPF controls, in particular, this issue deals with the RadChart control. I have a need to change the color on an individual bar without changing the other bar colors in the data series, and I need to do this in code-behind.
I've attached a picture of my chart output. In the example, the y-axis is minutes and the x-axis is divided into four categories (3,10,11,18). Each category could display up to three bars. Based on a threshold per category/bar, a single bar could change color. For example, bar 2 under category 3 may need to turn red, but I don't want any of the other bars to turn red (just that bar only).
At the DataPoint level, I'm updating dp.YValue and dp.Tooltip for each bar, and it is at this level that I make a decision about the bar's color based on the YValue.
The entire chart (RadChart) is being created in code-behind (no XAML). How can I accomplish this task?
Thanks,