Connectors are not displayed when customStyle is set

2 posts, 0 answers
  1. HT Cheong
    HT Cheong avatar
    2 posts
    Member since:
    Dec 2009

    Posted 25 May 2010 Link to this post

    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.

     

     

     

  2. Sia
    Admin
    Sia avatar
    755 posts

    Posted 27 May 2010 Link to this post

    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.
Back to Top