Reports for WinForms | ComponentOne
Working with C1ReportDesigner / Charting in Reports / Charts with Multiple Series
In This Topic
    Charts with Multiple Series
    In This Topic

    To create charts with multiple series, simply set the DataY property to a string that contains the names of each data field you want to chart, separated by semi-colons.

    For example, to create a chart showing product prices and discounts you would set the DataY property as shown below:

    DataY = "UnitPrice;Discount"

    If you want to specify the color used to display each series, set the Palette property to a list of colors separated by semi-colons. For example, the value displayed below would cause the chart to show the UnitPrice" series in red and the "Discount" series in blue:

    Palette = "Red;Blue"