Creates a new instance of the Series class with the specified name.
Data Series object constructor.
Parameters
- name
-
The name of the Series object that will be created. This must be unique, otherwise an exception will be thrown.
Name of the data series
This constructor can be used to create a new instance of the Series class.
IMPORTANT: this series will only be able to store DataPoint objects that have one Y-value. If a data point is added to the series that has multiple Y-values then an exception will be thrown.
To create a Series object at run-time the Add and Insert methods of the Series collection property can also be used.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family