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

Style customizations

1 Answer 16 Views
Chart - Xamarin.iOS
This is a migrated thread and some comments may be shown as answers.
Dustin
Top achievements
Rank 1
Dustin asked on 13 May 2015, 01:25 PM
Is there a way to hide the x and y axis labels as well as the background grid?

1 Answer, 1 is accepted

Sort by
0
Dustin
Top achievements
Rank 1
answered on 13 May 2015, 01:48 PM

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;

Tags
Chart - Xamarin.iOS
Asked by
Dustin
Top achievements
Rank 1
Answers by
Dustin
Top achievements
Rank 1
Share this question
or