How can i hide gray gridlines from chart?

2 posts, 0 answers
  1. Marco
    Marco avatar
    8 posts
    Member since:
    Oct 2012

    Posted 01 Jul 2011 Link to this post

    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
  2. Marco
    Marco avatar
    8 posts
    Member since:
    Oct 2012

    Posted 04 Jul 2011 Link to this post

    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;
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top