ComponentOne WebChart for ASP.NET (2.0) Search HelpCentral 

ChartDataArray.CopyDataOut Method ()

Copies data out of the ChartDataArray using the default data type.

[Visual Basic]

Overloads Public Function CopyDataOut() As Object

[C#]

public object CopyDataOut()

[Delphi]

public function CopyDataOut(): Object; overload;

Parameters

o

An object representing the data copied out from the ChartCoordArray.

Return Value

An object containing an array of the default type, appropriately converted from the internal Double(VB) or double(C#) values.

Remarks

Although the returned array is an object, the underlying data type will be an array of type Single, Double, Integer, Int16, Int64, Decimal or DateTime (VB) or float, double, int, Int16, Int64, decimal or DateTime (C#). When PointData is managed by the ChartDataArray, an array PointF objects may also be returned.  In Visual Basic, it is not necessary to explicitly cast the returned value. The strong typing of C# however, requires an explicit cast.

Note that all values are stored as a Double (VB) or double (C#) data type internally. Data conversions are performed automatically and as appropriate for the default data type.

See Also

ChartDataArray Class | ChartDataArray Members | C1.Win.C1Chart Namespace | ChartDataArray.CopyDataOut Overload List


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