ComponentOne ReportViewer for ASP.NET AJAX: Working with C1ReportDesigner > Charting in ReportViewer for ASP.NET AJAX > Series with Calculated Values

Series with Calculated Values

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)"


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.