FlexChart | ComponentOne
In This Topic
    ChartGroups Objects
    In This Topic

    ChartGroups objects determine the chart type being used in the chart and contain the data being plotted by the chart.

    <IMAGE>

    FlexChart comprises two ChartGroups objects: Group0 and Group1. Group0 contains data plotted against the primary Y-axis, while Group1 contains data plotted against the secondary Y-axis. Apparently, Group1 can be kept empty on the groundswell of whether you want to combine two chart types in a single chart or not.

    Note: With reference to ChartGroups objects, you can neither add a group in this collection nor remove a group from this collection. And since a chart type is associated with a chart group, you can combine at most two chart types in a single chart.

     

    Property Description
    ChartData Returns a ChartData object that contains a SeriesList property that holds the data for all series in the group. This property is described in the ChartDataSeries Object topic.
    ChartType Determines the type of chart to use when rendering this group (there are many chart types available, and you can select different types for each ChartGroup). For information on the available 2D chart types, see Specific 2D Charts.
    ShowOutline Determines whether graphical elements used to display the data (bars, areas, pie slices) should be outlined using the color specified by the ForeColor property.
    Stacked Determines whether the data should be stacked (by adding Y values) when the series are rendered.