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 graphs in windows – PB Docs 2018 – PowerBuilder Library

Using graphs in windows – PB Docs 2018

Using graphs in windows

In addition to using graphs in DataWindow objects, you can also
place graphs directly in windows and visual user objects. You define
properties for a graph control in the Window painter and use scripts to
populate the graph with data and to modify properties for the graph at
runtime.

This section describes procedures unique to using graphs in
windows and visual user objects. For general graph properties, see Defining a graph’s properties.

Placing a graph in a
window

This procedure for placing a graph in a window in the Window
painter can also be used for placing a graph on a user object in the
User Object painter.

To place a graph in a window:

  1. Open the Window painter and select the window that will
    contain the graph.

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

  3. Click where you want the graph.

    PowerBuilder displays a model of the graph in the
    window.

  4. Specify properties for the graph, such as type, title, text
    properties, and axis properties.

    See Defining a graph’s
    properties
    .

  5. Write one or more scripts to populate the graph with
    data.

    See Manipulating Graphs in Application Techniques and Manipulating Graphs in DataWindow Programmers Guide.

Using the graph’s Properties view in the
Window painter

A graph’s Properties view in the Window and User Object painters
is similar to the one in the DataWindow painter except that the
Properties view in the Window and User Object painter:

  • Does not have buttons for specifying property conditional
    expressions next to properties

  • Does not have Data, Position, and Pointer property
    pages

  • Does have an Other page, which you use to specify
    drag-and-drop, position, and pointer properties for the graph
    control

For more information, see Using the
graph’s Properties view
.


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