Chart axis label modification

May 19, 2013 at 3:56 PM
My target is to disable axis labels in a chart (chart contains three LineSeries). I can't figure out how to modify them. Any ideas or known solutions?
Thanks in advance.
Dec 23, 2013 at 7:20 AM
Edited Dec 23, 2013 at 7:21 AM
Try this:
((LineSeries)this.LineChart2.Series[0]).DependentRangeAxis = new LinearAxis() { Minimum = 0, Maximum = 100, Orientation = AxisOrientation.Y};
This line of code will remove y-axis. If you want to remove x-axis replace AxisOrientation.Y with AxisOrientation.X