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

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public Object CopyDataOut(
	Type t
)
Visual Basic
Public Function CopyDataOut ( _
	t As Type _
) As Object

Parameters

t
Type: System..::..Type
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