...
Exception |
---|
| ArgumentException |
---|
| ArgumentException |
---|
|
|
The rules for
creating 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.