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

Y=0 line hiding

4 Answers 52 Views
Chart
This is a migrated thread and some comments may be shown as answers.
A K
Top achievements
Rank 1
A K asked on 27 Jun 2011, 09:02 AM
How can I hide Y=0 line on chart? Or maybe set another color for it?
(y=0 line like on your example #Chart/MeteoChart).

I tried to insert CustomGridLine with YIntercept=0 and Stroke=Red, but the black line was drawn too (under the red one).

4 Answers, 1 is accepted

Sort by
0
A K
Top achievements
Rank 1
answered on 28 Jun 2011, 01:11 PM
any suggestions?
0
Bradley
Top achievements
Rank 1
answered on 17 Aug 2011, 03:17 PM
Bump... need to know this too!
0
randomsolutions
Top achievements
Rank 1
answered on 17 Aug 2011, 05:42 PM
Me too!
0
Sia
Telerik team
answered on 19 Aug 2011, 03:26 PM
Hi all,

You need to set the following:
this.RadChart.DefaultView.ChartArea.AxisY.PlotAreaAxisVisibility = Visibility.Collapsed;

Regards,
Sia
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Chart
Asked by
A K
Top achievements
Rank 1
Answers by
A K
Top achievements
Rank 1
Bradley
Top achievements
Rank 1
randomsolutions
Top achievements
Rank 1
Sia
Telerik team
Share this question
or