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

Styling the alternating bars behind the chart area

3 Answers 52 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 19 Feb 2010, 01:42 PM
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

3 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
answered on 23 Feb 2010, 12:06 PM
BUMP
0
Accepted
Sia
Telerik team
answered on 24 Feb 2010, 11:32 AM
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.
0
Chris
Top achievements
Rank 1
answered on 24 Feb 2010, 12:00 PM
That did the trick, thanks!
Tags
Chart
Asked by
Chris
Top achievements
Rank 1
Answers by
Chris
Top achievements
Rank 1
Sia
Telerik team
Share this question
or