Reports for WinForms | ComponentOne
In This Topic
    Series with Calculated Values
    In This Topic

    The DataY property is not restricted to field names. The strings that specify the series are actually treated as full expressions, and are calculated like any regular field in the report.

    For example, to create a chart showing the actual price of each field you could set the DataY property to the value shown below:

    DataY = "UnitPrice * (1 - Discount)"