The PowerScript functions in Table 15-3 allow you to get information about data in a graph at runtime.
Function |
Information provided |
---|---|
CategoryCount |
The number of categories in a graph |
CategoryName |
The name of a category, given its number |
DataCount |
The number of data points in a series |
FindCategory |
The number of a category, given its name |
FindSeries |
The number of a series, given its name |
GetData |
The value of a data point, given its series and position (superseded by GetDataValue, which is more flexible) |
GetDataLabelling |
Indicates whether the data at a given data point is labeled in a DirectX 3D graph |
GetDataieExplode |
The percentage by which a pie slice is exploded |
GetDataStyle |
The color, fill pattern, or other visual property of a specified data point |
GetDataTransparency |
Indicates the transparency value of a given data point in a DirectX 3D graph |
GetDataValue |
The value of a data point, given its series and position |
GetSeriesLabelling |
Indicates whether a data series has a label in a DirectX 3D graph |
GetSeriesStyle |
The color, fill pattern, or other visual property of a specified series |
GetSeriesTransparency |
Indicates the transparency value of a data series in a DirectX 3D graph |
ObjectAtPointer |
The graph element over which the mouse was positioned when it was clicked |
SeriesCount |
The number of series in a graph |
SeriesName |
The name of a series, given its number |