This question is locked. New answers and comments are not allowed.
Hi
I want to set the bar color based on a property. I used a converter to do this but somehow the converter is not invoked.
My code is below
I want to set the bar color based on a property. I used a converter to do this but somehow the converter is not invoked.
My code is below
<
telerik:BarSeries.PointTemplate>
<DataTemplate>
<!--<Rectangle Fill="#B0127F" Width="50" />-->
<Rectangle Fill="{Binding ProjectStage, Converter={StaticResource StageToBrushConverter}}" Width="50" />
</DataTemplate>
</telerik:BarSeries.PointTemplate>
The commented line shows something that works. But with the binding and converter it doesn't.
What am I doing wrong?