Accessing
data properties
Contents
To access properties related to a graph’s data during execution, you
use PowerScript graph functions. The graph functions related to data fall
into several categories:
-
Functions that provide information about a graph’s data
-
Functions that save data from a graph
-
Functions that change the color, fill patterns, and other visual
properties of data
How to use the functions
To call functions for a graph in a graph control, use the following
syntax:
1 |
graphControlName.FunctionName ( Arguments ) |
For example, to get a count of the categories in the window graph
gr_printer, code:
1 |
Ccount = gr_printer.CategoryCount() |
Different syntax for graphs in DataWindows
The syntax for the same functions is more complex when the graph
is in a DataWindow, like this:
1 |
DataWindowName.FunctionName ( "graphName", otherArguments... ) |
For more information, see Manipulating Graphs in DataWindow Programmers Guide.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest