This document provides you with step-by-step instructions on how to create a report with a Chartcontrol bound to data. In this example, all series will be auto-created by a chart using the series template, which specifies common data binding properties for all series.
This is possible because the data for all series (the series names along with series points' arguments and values) are stored in the same data table. Also, in this example, the series view type and certain other settings should be the same for all the series created.
In this example we'll use the "GSP" table of the sample gsp.mdbdatabase. This table contains the Gross State Product (GSP) statistics for some US regions.
This topic consists of the following sections:
- Steps 1-4. Create a chart and bind it to data
- Steps 5-7. Specify a series data member and adjust a series template
- Steps 8-10. Customize the chart
- Result