Adding a chart to a form
- With the form open, go into Design Mode.
- From the Toolbox, select Chart , and draw the component where you want it on the form.
- From the Component property sheet, select Data Source > Binding and then click the ellipses (...) button on the right.
- In the Edit Component Data Binding dialog box, Type drop-down list, select Chart.
- Click Edit.
- In the Specify Chart Settings dialog box, on the Data tab, specify at least the Chart Style and the Chart Type.
- 
            On the same tab, in the 
			 Chart Data group box,
			 specify: 
		  
            - The IDO Collection to use as the source for the data
- The property or
				  properties, using the 
				  Available Properties
				  list and clicking 
				  Add. 
				  For a Single Series chart, specify only a single property. For a Multi-Series or Combination chart, specify multiple properties, according to what the chart is to display. 
 
- 
            To save your initialized chart, click 
			 OK till you get back to
			 the form. 
		  
            Note: The chart does not display any data until you perform this step and the next step.
- Save your changes, close, and then reopen the form.
- Make other settings as desired on the various tabs of the Specify Chart Settings dialog box.
- To preview the chart, click Apply and move the Specify Chart Settings dialog box out of way until you can see your chart.
- To apply your changes and save the chart, click OK .