.netCHARTING v10.5 Documentation


Calculation to perform on the collection.
Add(Calculation) Method
Adds an element to the collection based on the specified calculation.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal calc As Calculation _
) As Integer
'Usage
 
Dim instance As ElementCollection
Dim calc As Calculation
Dim value As Integer
 
value = instance.Add(calc)
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(...).
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