[]
        
(Showing Draft Content)

C1.Win.C1Chart.ChartCoordArray.CopyDataIn

CopyDataIn Method

CopyDataIn(object)

Copies data into the ChartCoordArray, replacing all existing data.

Declaration
public bool CopyDataIn(object o)
Parameters
Type Name Description
object o
Returns
Type Description
bool

A Boolean value indicating whether the data was appropriately copied into the ChartCoordArray.

Remarks

Although the passed data array is an object, the underlying data type must be an array of type Single, Double, Integer, Int16, Int64, Decimal or DateTime (VB) or float, double, int, Int16, Int64, decimal or DateTime (C#). An array of objects is not accepted. When PointData is managed by the ChartCoordArray, an array PointF objects may also be passed.

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 inputted data type. For example, setting a data element to a DateTime value of January 1, 2002 will be stored internally as an Ole date, then converted to a Double/double with a result of 37257.

Additionally, the length of the copied array defines the length of the ChartCoordArray, and the Length property will report the new value.