See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

SeriesCollection Property

Gets a SeriesCollection object which represents the data this chart will render.

[Visual Basic]
Public ReadOnly Property SeriesCollection As SeriesCollection
[C#]
public SeriesCollection SeriesCollection {get;}

Example

[C#] 

//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);

[Visual Basic] 

'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)

See Also

Chart Class  | Chart Members

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.