Robert
4 Answers, 1 is accepted
You can control the label appearance though label definitions default visual style. For e.g. to change the FontSize you can use this Xaml:
<
telerik:PieSeries.LabelDefinitions
>
<
telerik:ChartSeriesLabelDefinition
>
<
telerik:ChartSeriesLabelDefinition.DefaultVisualStyle
>
<
Style
TargetType
=
"TextBlock"
>
<
Setter
Property
=
"FontSize"
Value
=
"20"
/>
</
Style
>
</
telerik:ChartSeriesLabelDefinition.DefaultVisualStyle
>
</
telerik:ChartSeriesLabelDefinition
>
</
telerik:PieSeries.LabelDefinitions
>
Let us know if you have any further question regarding this functionality.Regards,
Tsvyatko
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

I tried that, but the labels are still the same small size. Here is my Xaml:
<telerik:RadPieChart x:Name="ExpensePieChart" Margin="50,0,0,0"
PaletteName="DefaultLight" Width="900" Height="500">
<telerik:PieSeries ItemsSource="{Binding Source={StaticResource GroupedExpenseItemsViewSource}}">
<telerik:PieSeries.ValueBinding>
<telerik:PropertyNameDataPointBinding PropertyName="Amount"/>
</telerik:PieSeries.ValueBinding>
<telerik:PieSeries.LabelDefinitions>
<telerik:ChartSeriesLabelDefinition Margin="-15" Strategy="{StaticResource Strategy}">
<telerik:ChartSeriesLabelDefinition.DefaultVisualStyle>
<Style TargetType="TextBlock">
<Setter Property="FontSize" Value="48"/>
</Style>
</telerik:ChartSeriesLabelDefinition.DefaultVisualStyle>
</telerik:ChartSeriesLabelDefinition>
</telerik:PieSeries.LabelDefinitions>
</telerik:PieSeries>
</telerik:RadPieChart>
Thanks for getting back to us.
If I remember correctly your custom label strategy provides an override for the DefaultVisual routine and it returns a new TextBlock instance that does not honor the DefaultVisualStyle specified. You can have only the Content strategy flag specified and leave the default visual creation to the underlying framework. Or you can assign the DefaultVisualStyle property to the TextBlock that the strategy creates.
I hope this helps. Let me know if you experience some other issues with the component.
Greetings,
Georgi
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

That helps. Now the pie chart looks like I want.
Thanks!
Robert