'Declaration Public Function CopyDataIn( _ ByVal o As System.Object _ ) As System.Boolean
public System.bool CopyDataIn( System.object o )
Parameters
- o
'Declaration Public Function CopyDataIn( _ ByVal o As System.Object _ ) As System.Boolean
public System.bool CopyDataIn( System.object o )
Although the passed DataArray 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 ChartDataArray, 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 ChartDataArray, and the Length property will report the new value.