Object Reference > Chart2DData Object > Chart2DData Object Methods > CopyYArrayIn Method (Chart2DData) |
CopyYArrayIn Method (Chart2DData)
Copies an array of Y data to multiple series.
Function CopyYArrayIn(vArray) As Boolean
ComponentOne Chart provides the ability to pass zero-based and one-based arrays. To use CopyYArrayIn, the data must be a two-dimensional array of singles, doubles, longs, or integers. The common X values are usually set with CopyXVectorIn, and the Y values for all series can be set with CopyYArrayIn. Note that to use this method the size of the array passed must match the number of series and points declared by NumSeries and NumPoints. Arrays must be declared with the number of points as its first element, and the number of series as its second element, and your data must be in an Array format. Otherwise, use CopyYVectorIn.
Part |
Type |
Description |
Array |
Variant |
Name of the array where the data is to be stored |
See Also