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