ActiveReports for .NET 3 Online Help Request technical support
Data Bound Charts
User Guide > Concepts > Charts > Chart Data > Data Bound Charts

Glossary Item Box

The Chart control provides several ways to bind your charts to data at design time.

Adding Data with the Wizard

To open the Chart Wizard, click the Wizard verb below the Properties window. In the Chart Wizard, once you have added a series, you can create a data adapter to contain the data for your chart, if needed. When a data source is available, the Value X and Y values can be set for the series in the chart wizard from the expressions and/or data columns retrieved from the data source.

Adding Data with the Chart Designer

Once a data source is set up, you can easily bind data to a series using the Chart Designer. To open the Chart Designer, click the Customize verb below the Properties window. Choose the Series section on the left, and on the General tab, after a series has been added to the chart, set the ValueY property by selecting the name of the data expression you wish to assign to the series.

Adding Data through the Chart Data Source Dialog

To set the data source for the chart through the Chart Data Source dialog, click the DataSource verb below the Properties Window.

If you do not see the verbs in Visual Studio 2005, right-click the Properties Window and select Commands

After the DataSource for the chart is set, add a series to the chart. To do this, open the Series Collection Editor dialog by clicking the ellipsis button which appears when you click next to the Series property in the Properties Window, then click the "Add" button. To bind the series to an expression or dataset column returned by your data source, set the ValueMembersY or ValueMembersX property of the series by selecting it from the drop-down list.

©2009. All Rights Reserved.