Getting information about the data
There are quite a few methods for getting information about data
in a graph in a DataWindow control at execution time. For all methods,
you provide the name of the graph within the DataWindow as the first
argument. You can provide your own name for graph controls when you
insert them in the DataWindow painter. If the presentation style is
Graph, you do not need to name the graph.
PowerBuilder
These methods get information about the data and its display. For
several of them, an argument is passed by reference to hold the
requested information:
|
Method |
Information provided |
|---|---|
|
CategoryCount |
The number of categories in a graph |
|
CategoryName |
The name of a category, given its |
|
DataCount |
The number of data points in a |
|
FindCategory |
The number of a category, given its |
|
FindSeries |
The number of a series, given its |
|
GetData |
The value of a data point, given its series and |
|
GetDataLabelling |
The display setting for the data label at a given |
|
GetDataPieExplode |
The percentage at which a pie slice is |
|
GetDataStyle |
The color, fill pattern, or other visual property |
|
GetDataTransparency |
The transparency percentage of a data point in a |
|
GetDataValue |
The value of a data point, given its series and |
|
GetSeriesLabelling |
The display setting for the series label for a |
|
GetSeriesStyle |
The color, fill pattern, or other visual property |
|
GetSeriesTransparency |
The transparency percentage of a series in a |
|
ObjectAtPointer |
The graph element the mouse was positioned over |
|
SeriesCount |
The number of series in a graph |
|
SeriesName |
The name of a series, given its |