ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartDataArray.Add Method

Adds a new value to the end of the ChartArrayArray.

[Visual Basic]

Overridable Public Function Add( _

ByVal value As Object _

) As Integer Implements IList.Add

[C#]

virtual public int Add(

object value

);

[Delphi]

public function Add(

value: Object

): Int32; virtual;

Implements

IList.Add

Parameters

value

New data value.

Return Value

An integer indicating the index of the new value in the ChartDataArray. The new index is always the Length of the ChartDataArray prior to adding the new value.

Remarks

The Add method extends the length of the ChartDataArray 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

ChartDataArray Class | ChartDataArray Members | C1.Win.C1Chart Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.