2D Chart for WinForms | ComponentOne
Specific 2D Charts / Pie and Doughnut Charts / Pie Chart Programming Considerations
In This Topic
    Pie Chart Programming Considerations
    In This Topic

    The following table describes the Data Arrays used for pie charts. Each data series requires X and Y array values to be charted. Adding values to the other arrays will not affect this chart, but filling the arrays with data could make it easier to switch to another chart type that does use those arrays.

    Property Description
    X Holds 0-based slice index for Pie chart.
    Y Holds pie slice value indicated by the X value.
    Y1 No effect for Pie charts.
    Y2 No effect for Pie charts.
    Y3 No effect for Pie charts.
    Note: Entering data in more than one series will display multiple Pie charts within one ChartGroup.