Page tree

Versions Compared

Key

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

Excerpt

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.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Creates a new [Series|Series] that is automatically added to the [SeriesCollection|SeriesCollection]. The series will be plotted on the primary axis, and its type will be the chart's [ChartType|ChartType].{excerpt}
{signature:C#}
 public Series CreateSeries(Area area)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function CreateSeries(ByVal area As Area) As Series
Parameters

...

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

Returns

A Series object representing the new data series.

Exceptions

...

{signature}
{parameters}
{param:area}A [Area|Area] object representing the cells that contain the source data for the new series.{param}
{returns}A {{Series}} object representing the new data series.{returns}
{exceptions}
{exception: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.
{excepion}