Accessing data properties – PB Docs 2017

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:

For example, to get a count of the categories in the window graph
gr_printer, code:

Different syntax for graphs in DataWindows

The syntax for the same functions is more complex when the graph
is in a DataWindow, like this:

For more information, see Manipulating Graphs in DataWindow Programmers Guide.


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