This question is locked. New answers and comments are not allowed.
I have an app with a WP7 and WP8 build. I have a RadPieChart defined as
This code works fine in WP7 build of the app and shows Category as the label for each item. However, in WP8 build of the app, the labels are shown as Telerik.Charting.PieDataPoint for each item (sceenshot: https://pbs.twimg.com/media/BKWX0LqCcAAvv64.png:large).
Is there something different in the RadPieChart for WP8? I noticed then when I do not use the LabelTemplate, then the label is shown ok on WP8 but I do not know how to change its color.
<DataTemplate x:Key="LabelTemplate"> <TextBlock Text="{Binding}" Foreground="White" /> </DataTemplate>
<chart:RadPieChart Palette="Warm" x:Name="expensesChart" Height="360" Width="360" HorizontalAlignment="Left"> <chart:PieSeries ShowLabels="True" LabelTemplate="{StaticResource LabelTemplate}" ValueBinding="Sum" ItemsSource="{Binding ExpenseStats}"> <chart:PieSeries.LabelDefinitions> <chart:ChartSeriesLabelDefinition Binding="Category" /> </chart:PieSeries.LabelDefinitions> </chart:PieSeries> </chart:RadPieChart>
This code works fine in WP7 build of the app and shows Category as the label for each item. However, in WP8 build of the app, the labels are shown as Telerik.Charting.PieDataPoint for each item (sceenshot: https://pbs.twimg.com/media/BKWX0LqCcAAvv64.png:large).
Is there something different in the RadPieChart for WP8? I noticed then when I do not use the LabelTemplate, then the label is shown ok on WP8 but I do not know how to change its color.