Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Signature
vb.net
vb.net
Public Property ChartType() As ChartType
Remarks

The value returned is the ChartType for the chart. This is the chart type that will be used for newly created series if you do not explicitly specify a ChartType in the call to CreateSeries. However, there may be series within the chart that are of a different type than the chart itself - for example, you may have a Line chart with one line series and one column series.

If all of the series in the chart are of the same ChartType, then this property will return that type, and newly created series will also be of that type.

Setting the Chart's ChartType will convert every series within the chart to be of the specified type. If the new ChartType supports series on the secondary axis, then the AxisType for each series will be preserved. If the new ChartType does not support series on the secondary axis, then all series will be moved to be primary axis.

Scrollbar