Using graphs in applications – PB Docs 125

Using graphs in applications

You can use graphs in DataWindow objects and in windows. You specify
the properties of a graph, such as its type and title, the same
way in a DataWindow object as in a window.

note.png Using graphs in user objects

You can also use graphs in user objects. Everything in this
chapter about using graphs in windows also applies to using graphs
in user objects.

The major differences between using a graph in a DataWindow object and using
a graph in a window (or user object) are:

  • Specifying the data for the graph

    In DataWindow objects, you associate columns in the database with
    the axes of a graph. In windows, you write scripts containing PowerScript functions
    to populate a graph.

  • Specifying the location of the graph

    In DataWindow objects, you can place a graph in the foreground and
    allow users to move and resize the graph at runtime, or you can
    place a graph in a band and prevent movement. In windows, graphs
    are placed like all other window controls.


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