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

How can i hide gray gridlines from chart?

1 Answer 130 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 01 Jul 2011, 03:25 PM
hi,

I have this chart...

How can I
hide or remove the gray lines in the image indicated by the red arrow?


Thanks for yours supports

Marco

1 Answer, 1 is accepted

Sort by
0
Marco
Top achievements
Rank 1
answered on 04 Jul 2011, 08:19 AM
in the documentation I found an example of code that serves to do just what I needed.
the code is:

chart.DefaultView.ChartArea.AxisY.StripLinesVisibility = Visibility.Hidden;
Tags
Chart
Asked by
Marco
Top achievements
Rank 1
Answers by
Marco
Top achievements
Rank 1
Share this question
or