Object Reference > Chart2DData Object > Chart2DData Object Methods > CopyYArrayOut Method (Chart2DData) |
CopyYArrayOut Method (Chart2DData)
Copies Y data for multiple series into an array.
Function CopyYArrayOut(vArray) As Boolean
ComponentOne Chart provides the ability to pass zero-based and one-based arrays. To use CopyYArrayOut, the data must be a two-dimensional array of singles, doubles, longs, or integers. The common X values are usually retrieved with CopyXVectorOut, and the Y values for all series can be retrieved with CopyYArrayOut. 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 Array format. Otherwise, use CopyYVectorOut.
Part |
Type |
Description |
Array |
Variant |
Name of the array where the data is stored |
See Also