Placing a graph in a DataWindow object

StepsTo place a graph in a DataWindow object:

  1. Open or create the DataWindow object that will contain the graph.

  2. Select Insert>Control>Graph from the menu bar.

  3. Click where you want the graph.

    PocketBuilder displays the Graph Data dialog box.

    Figure 24-7: Inserting a graph control in a DataWindow

    The sample shows the Graph Data dialog box. From the Rows drop down list box, the value All has been selected. Next are Category and Value boxes that are blank. At bottom left is a box that displays the types of graphs available. At bottom right is an area for displaying a sample of the selected type.
  4. 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.

    Figure 24-8: Design view with representation of a graph

    The sample shows the Design view of the Data Window painter. Displayed on top of the Detail, Summary, and Footer bands is a picture of the graph defined in the Graph Data dialog box.
  5. Specify the graph's properties in the Properties view.

    See “Using the graph's Properties view”.