Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Using the General page in the graph’s Properties view – PB Docs 126 – PowerBuilder Library

Using the General page in the graph’s Properties view – PB Docs 126

Using the General page in the graph’s Properties view

You name a graph and define its basic properties on the General
page in the graph’s Properties view.

proc.png To specify the basic properties of a graph:

  1. Select Properties from the graph’s
    pop-up menu and then select the General page in the Properties view.

About the model graph in the Design view

As you modify a graph’s properties, PowerBuilder updates
the model graph shown in the Design view so that you can get an
idea of the graph’s basic layout:

  • PowerBuilder uses the graph title and axis labels
    you specify.

  • PowerBuilder uses sample data (not data from your DataWindow object) to
    illustrate series, categories, and values.

In Preview view, PowerBuilder displays the graph with data.

Naming a graph

You can modify graphs at runtime. To reference a graph in
code, you use its name. By default, the graph is named gr_n.

proc.png To name a graph:

  1. On the General properties page for the
    graph, assign a meaningful name to the graph in the Name box.

Defining a graph’s title

The title displays at the top of the graph.

proc.png To specify a graph’s title:

  1. On the General properties page for the
    graph, enter a title in the Title box.

note.png Multiline titles

You can force a new line in a title by embedding ~n.

For information about specifying properties
for the title text, see “Specifying text properties
for titles, labels, axes, and legends”
.

Specifying the type of graph

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.)

proc.png To specify the graph type:

  1. On the General properties page for the
    graph, select a graph type from the Graph Type drop-down list.

Using legends

A legend provides a key to your graph’s series.

proc.png To include a legend for a series in a graph:

  1. 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”
.

Specifying point of view in 3D graphs

If you are defining a 3D graph, you can specify the point
of view that PowerBuilder uses when displaying the graph.

proc.png To specify a 3D graph’s point of view:

  1. 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.

  2. Define the depth of the graph (the percent the
    depth is of the width of the graph) by using the Depth slider.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x