Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Description

Creates a new Series that is automatically added to the SeriesCollection. The series will be plotted on the primary axis, and its type will be the chart's ChartType.

C#
vb.net

Parameters

range
A Range object representing the cells that contain the source data for the new series.

Returns

A Series object representing the new data series.

Exceptions

ArgumentException
The rules for creating series are described under SeriesCollection. If these rules would be violated by creating this series, then an ArgumentException will be thrown and the series will not be created. You will instead need to specify a ChartType and AxisType that are consistent with the rules for creating series.
  • No labels