2D Chart for WinForms | ComponentOne
Charting Data / Defining the Chart Data Objects / Defining the ChartDataArray Object
In This Topic
    Defining the ChartDataArray Object
    In This Topic

    Each series contains six ChartDataArray objects. The X, Y, Y1, Y2, Y3 data array objects hold arrays of data corresponding to the X, Y, Y1, Y2, and Y3-axes. The sixth data array object is the PointData object. This object accepts an array of PointF or Point values and is intended to be used as an alternative to the X, Y, Y1, Y2, Y3 data array objects.

    Each ChartDataArray is a read-only object that can only be modified through two methods. The CopyDataIn and CopyDataOut methods of the ChartDataArray copy arrays of data into these objects and return arrays of data from these objects.

    The X, Y, Y1, Y2, Y3 data array objects accept Object data types. This allows a variety of .NET array types to be entered into the ChartDataArray objects (except for PointData).

    See Also