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.

    PowerBuilder displays the Graph Data dialog box:

    Shown is the Graph Data dialog box.
  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:

    The sample shows the Design view.
  5. Specify the graph’s properties in the Properties view.