Hiding the X axis on a chart with ZedGraph lib
I want to hide the X axis in my graph. Here is my code for that:
zg1.GraphPane.XAxis.IsVisible = false;
zg1.AxisChange();
zg1.Invalidate();
But I have a problem with him.
My schedule:

After defining the X axis:

Any idea why I am having this problem?
+3
Yozer
source
to share
1 answer
zg1.GraphPane.YAxis.MajorGrid.IsZeroLine = false;
+6
Ardhian 'koponk' Nugroho
source
to share