.netCHARTING v10.3 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : SeriesCollection Property
SeriesCollection Property (Chart)
Gets a SeriesCollection object which represents the data this chart will render.
Syntax
'Declaration
 
Public ReadOnly Property SeriesCollection As SeriesCollection
'Usage
 
Dim instance As Chart
Dim value As SeriesCollection
 
value = instance.SeriesCollection
public SeriesCollection SeriesCollection {get;}
Example
//Adding series programatically
Series sr =new Series();
sr.Name ="Vancouver";
sr.Type = SeriesType.Cylinder;
Element el= new Element("E 1",2);
sr.Elements.Add(el);
Chart.SeriesCollection.Add(sr);
'Adding series programatically
Dim sr As Series =new Series()
sr.Name ="Vancouver"
sr.Type = SeriesType.Cylinder
Dim el As Element  = new Element("E 1",2)
sr.Elements.Add(el)
Chart.SeriesCollection.Add(sr)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also