This is a migrated thread and some comments may be shown as answers.

Connectors are not displayed when customStyle is set

1 Answer 29 Views
Chart
This is a migrated thread and some comments may be shown as answers.
HT Cheong
Top achievements
Rank 1
HT Cheong asked on 25 May 2010, 10:19 PM

I have a 2D pie series chart with showConnectors enabled . This works fine but the business wants white  background for the label. So I added the following style

 

 

<Style x:Name ="customLabelStyle" TargetType="chart:SeriesItemLabel">

 

 

 

 

<Setter Property="Foreground" Value="Black" />

 

 

 

 

</Style>

 

 

 

 

 

and set this custom style as following in the  piesereis definition.

psd.SeriesItemLabelStyle =

this.CustomLabelStyle;

 

 

 

 

psd.LabelSettings.ShowConnectors = true;

 

 

  psd.LabelSettings.SpiderModeEnabled =

 

true;

When I set the customStyle , I get white background with black text  but the connector lines are not displayed. I need the connector lines . What am I missing ? Any help is greatly appreciated.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 27 May 2010, 08:14 AM
Hi HT Cheong,

This issue is known and is already fixed. The fix will be available with our next latest internal build this week.

Please notice that if you need to change the labels' background we suggest you to use the approach described in the Styling RadChart for WPF and Silverlight gets easier blog post. In order for that approach to work, you will need to download the latest available release of our controls.

Best wishes,
Sia
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart
Asked by
HT Cheong
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or