ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartDataArray.CopyDataOut Method (Type)

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

[Visual Basic]

Overloads Public Function CopyDataOut( _

ByVal t As Type _

) As Object

[C#]

public object CopyDataOut(

Type t

);

[Delphi]

public function CopyDataOut(

t: Type

): Object; overload;

Parameters

t

type

Return Value

An object containing an array of the specified 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 specified 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.