This question is locked. New answers and comments are not allowed.
Hello,
I am trying to do exactly the same thing as described at http://www.telerik.com/community/forums/wpf/charting-kit/radchartview-how-to-use-radlegend.aspx, but in Silverlight (we have the RadControls of Q2 2013).
But the binding on the Title of the SeriesLegendSettings does not produce anything (I do have one LegendItem in the RadLegend, but its Title is empty).
Here is a little code snippet:
and the Style that is attached to the descriptor by means of the SeriesDescriptorSelector is the following:
Thanks!
Carlos.
I am trying to do exactly the same thing as described at http://www.telerik.com/community/forums/wpf/charting-kit/radchartview-how-to-use-radlegend.aspx, but in Silverlight (we have the RadControls of Q2 2013).
But the binding on the Title of the SeriesLegendSettings does not produce anything (I do have one LegendItem in the RadLegend, but its Title is empty).
Here is a little code snippet:
<telerik:RadCartesianChart x:Name="Chart" VerticalAxis="{Binding VerticalAxis}" HorizontalAxis="{Binding HorizontalAxis}"
<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider Source="{Binding ChartSeries}" SeriesDescriptorSelector="{Binding SeriesSelector}"/>
</telerik:RadCartesianChart.SeriesProvider>
</telerik:RadCartesianChart>
<telerik:RadLegend Grid.Row="1" Items="{Binding LegendItems, ElementName=Chart}"/>and the Style that is attached to the descriptor by means of the SeriesDescriptorSelector is the following:
<Style x:Key="ChartBarSeriesStyle" TargetType="telerik:BarSeries">
<Setter Property="CombineMode" Value="Cluster"/>
<Setter Property="ShowLabels" Value="True"/>
<Setter Property="LegendSettings">
<Setter.Value>
<telerik:SeriesLegendSettings Title="{Binding Legend}"/>
</Setter.Value>
</Setter>
</Style>Carlos.