dotnetCHARTING Send comments on this topic.
Add(Calculation) Method
See Also 
dotnetCHARTING Namespace > ElementCollection Class > Add Method : Add(Calculation) Method


calc
Calculation to perform on the collection.
Adds an element to the collection based on the specified calculation.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Add( _
   ByVal calc As Calculation _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As ElementCollection
Dim calc As Calculation
Dim value As Integer
 
value = instance.Add(calc)
C# 
public int Add( 
   Calculation calc
)

Parameters

calc
Calculation to perform on the collection.

Return Value

Numeric index of the added element.

Remarks

This method must be used through Chart.Series.Elements.Add(...).

See Also

© 2011 All Rights Reserved.