Description
If the chart contains two X or Y axes, AxisType sets or returns whether the series is associated with the primary or secondary axis.
Exceptions
ArgumentException
The rules for what series can coexist on a chart are described under
SeriesCollection. If these rules would be violated as a result of changing this series' axis to the specified value, an ArgumentException will be thrown. It is possible that you may need to change both the AxisType and ChartType of the series in order to have a valid series configuration. If that is the case, you should use the
Series.ChangeConfiguration method instead of setting each property separately.