You name a graph and define its basic properties on the General page in the graph's Properties view.
To specify the basic properties of a graph:
Select Properties from the graph's pop-up menu and then select the General page in the Properties view
As you modify a graph's properties, PocketBuilder updates the model graph shown in the Design view so that you can get an idea of the graph's basic layout:
PocketBuilder uses the graph title and axis labels you specify
PocketBuilder uses sample data (not data from your DataWindow object) to illustrate series, categories, and values
In Preview view, PocketBuilder displays the graph with data.
You can modify a graph in scripts during execution. To reference a graph during execution, you use its name.
To name a graph:
On the General page for the graph, assign a meaningful name to the graph in the Name box
The graph title displays at the top of the graph.
To specify a graph's title:
On the General page for the graph, enter a title in the Title box
For information about specifying properties for the title text, see “Specifying text properties for titles, labels, axes, and legends”.
You can change the graph type at any time in the development environment. (To change the type at runtime, modify a graph's GraphType property.)
To specify the graph type:
On the General properties page for the graph, select a graph type from the Graph Type drop-down list
A legend provides a key to your graph's series.
To include a legend for a series in a graph:
On the General properties page for the graph, specify where you want the legend to appear by selecting a value in the Legend drop-down list
For information on specifying text properties for the legend, see “Specifying text properties for titles, labels, axes, and legends”.
You can specify the border that PocketBuilder places around a graph.
To specify a border for a graph:
On the General properties page for the graph, select the type of border to use from the Border drop-down list
If you are defining a 3D graph, you can specify the point of view that PocketBuilder uses when displaying the graph.
To specify a 3D graph's point of view:
On the General properties page for the graph, adjust the point of view along the three dimensions of the graph:
To change the perspective, move the Perspective slider
To rotate the graph, move the Rotation slider
To change the elevation, move the Elevation slider
Define the depth of the graph by entering a value in the Depth box.
The value you enter for the depth is a percentage of the width of the graph. You can use the spin control to set this value.