Accessing data properties
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 |
<span>graphControlName.FunctionName</span> ( <span>Arguments</span> ) |
For example, to get a count of the categories in the window
graph gr_printer, code:
1 |
Ccount = gr_printer.CategoryCount() |

The syntax for the same functions is more complex when the
graph is in a DataWindow, like this:
1 |
<span>DataWindowName.FunctionName</span> ( "<span>graphName</span>", <span>otherArguments...</span> ) |
For more information, see the DataWindow Programmers
Guide.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest