Hi,
I an trying to create a PieChart like:
The problem is where in the code I should add a manual series mapping in order to bind labels to a collection in VM.
I an trying to create a PieChart like:
<chart:RadChart Name="qwe" Content="RadChart" ItemsSource="{Binding PieChartItems}"> <chart:RadChart.DefaultView> <charting:ChartDefaultView> <charting:ChartDefaultView.ChartArea/> <charting:ChartDefaultView.ChartTitle> <charting:ChartTitle Content="CHART TITLE"/> </charting:ChartDefaultView.ChartTitle> <charting:ChartDefaultView.ChartLegend> <charting:ChartLegend x:Name="ChartLegend2" Visibility="Visible" Header="ABC" Padding="0,0,5,0" HorizontalContentAlignment="Right" BorderThickness="0" Background="Transparent"/> </charting:ChartDefaultView.ChartLegend> </charting:ChartDefaultView> </chart:RadChart.DefaultView>The problem is where in the code I should add a manual series mapping in order to bind labels to a collection in VM.