See Also

SeriesCollection Class  | SeriesCollection Members  | Overload List

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

Add() Method

Provided as a shortcut for adding elements, series, and series collections the chart SeriesCollection.

[Visual Basic]
Overloads Public Function Add() As Integer
[C#]
public int Add();

Example

Adds an element using the shortcut.

[C#] 

            [C#] 
Chart.Series.Element.YValue = 10; 
Chart.Series.Element.Name = "Element 1"; 
Chart.Series.Elements.Add(); 
Chart.SeriesCollection.Add();

[C#] 

            [Visual Basic] 
Chart.Series.Element.YValue = 10 
Chart.Series.Element.Name = "Element 1" 
Chart.Series.Elements.Add() 
Chart.SeriesCollection.Add()

See Also

SeriesCollection Class  | SeriesCollection Members  | Overload List

 

 


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