Style customizations

2 posts, 0 answers
  1. Dustin
    Dustin avatar
    2 posts
    Member since:
    Nov 2014

    Posted 13 May 2015 Link to this post

    Is there a way to hide the x and y axis labels as well as the background grid?
  2. Dustin
    Dustin avatar
    2 posts
    Member since:
    Nov 2014

    Posted 13 May 2015 in reply to Dustin Link to this post

    Found it:

    chart.YAxis.Style.LabelStyle.TextHidden = true;

    chart.XAxis.Style.LabelStyle.TextHidden = true;


    var gridStyle = chart.GridStyle;

    gridStyle.VerticalLinesHidden = true;

    gridStyle.HorizontalLinesHidden = true;




    var gridStyle = chart.GridStyle;

                gridStyle.VerticalLinesHidden = true;

                gridStyle.HorizontalLinesHidden = true;




    var gridStyle = chart.GridStyle;

                gridStyle.VerticalLinesHidden = true;

                gridStyle.HorizontalLinesHidden = true;






    chart.YAxis.Style.LabelStyle.TextHidden = true;

  3. DevCraft banner
Back to Top