Styling the alternating bars behind the chart area

4 posts, 1 answers
  1. Chris
    Chris avatar
    4 posts
    Member since:
    Mar 2008

    Posted 19 Feb 2010 Link to this post

    Hello,

    I was wondering if there is any way to style (preferably even remove) the alternating, horizontal bars on the chart area background. I tried creating a style for the ClipPanel but that is overlayed by these bars. You can see them here:


    Hope your understand my question and thanks in advance!

    Dominiek
  2. Chris
    Chris avatar
    4 posts
    Member since:
    Mar 2008

    Posted 23 Feb 2010 Link to this post

    BUMP
  3. Answer
    Sia
    Admin
    Sia avatar
    673 posts

    Posted 24 Feb 2010 Link to this post

    Hello Chris,

    You can remove the horizontal StripLines by setting their visibility to collapsed with the following code behind:
    RadChart1.DefaultView.ChartArea.AxisY.StripLinesVisibility = Visibility.Collapsed;

    where "RadChart1" is the name of your RadChart.

    You can read more about styling the striplines in our help section.

    Hope this helps!

    Greetings,
    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.
  4. Chris
    Chris avatar
    4 posts
    Member since:
    Mar 2008

    Posted 24 Feb 2010 Link to this post

    That did the trick, thanks!
Back to Top