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
Wiki Markup
{description}
{excerpt}Changes the [ChartType|ChartType] and [AxisType|Series.AxisType] of the series at the same time.{excerpt}
{signature:C#}
 public void ChangeConfiguration(ChartType type, AxisType axisType)
{signature}{signature:vb.net}
Public Sub ChangeConfiguration(ByVal type As ChartType, ByVal axisType As AxisType)
{signature}
{parameters}
{param:type}A {{ChartType}} value.{param}
{param:axisType}An {{AxisType}} value.{param}
{remarks}
Certain combinations of series do not allow the ChartType and AxisType to be modified sequentially. For example, if a chart contains two pies on the primary axis and a line on the secondary, you cannot change the chart or axis type of a pie unless the changes are simultaneous.

For an overview of valid series configurations, see the remarks on the [SeriesCollection] class.
{remarks}
{exceptions}
{exception:ArgumentException}The rules for what series can coexist on a chart are described under [SeriesCollection]. If these rules would be violated by changing the configuration to the specified values, an ArgumentException will be thrown. Depending on the current series that are in your chart, you may need to change the configuration to a different AxisType, ChartType, or remove some existing series before calling this method, in order to ensure that the rules described in [SeriesCollection] are adhered to.
{exception}