To place a graph in a DataWindow object:
Open or create the DataWindow object that will contain the graph.
Select Graph from the Visual Studio Toolbox.
Click where you want the graph.
DataWindow Designer displays the Graph Data dialog box:
Specify which columns contain the data and the type of graph you want, and click OK.
For more information, see “Associating data with a graph”.
The Design view now contains a representation of the graph:
Specify the graph's properties in the Properties window.