Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

If the chart contains two X or Y axes, AxisType sets or returns whether the series is associated with the primary or secondary axis.

Signature
C#
C#
 public AxisType AxisType{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property AxisType() As AxisType
{signature}
{exceptions}
{exception: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|Series.ChangeConfiguration(ChartType, AxisType)] method instead of setting each property separately.
{exception}
Exceptions
Exception
ArgumentException
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.