2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / ChartCoordArray Class / Add Method
New data value.

In This Topic
    Add Method (ChartCoordArray)
    In This Topic
    Adds a new value to the end of the ChartCoordArray.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal value As System.Object _
    ) As System.Integer
    public System.int Add( 
       System.object value
    )

    Parameters

    value
    New data value.

    Return Value

    An integer indicating the index of the new value in the ChartCoordArray. The new index is always the Length of the ChartCoordArray prior to adding the new value.
    Remarks
    The Add method extends the length of the ChartCoordArray by one, then adds the new value to the newly created element. The value is automatically converted to the internal storage data type.
    See Also