Accessing data properties  Saving graph data

Chapter 7: Manipulating Graphs in Windows

Getting information about the data

The PowerScript functions in Table 7-3 allow you to get information about data in a graph at runtime.

Table 7-3: PowerScript functions for information 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)

GetDataPieExplode

The percentage of the pie's radius that the pie slice is to be moved away from the center (exploded)

GetDataStyle

The color, fill pattern, or other visual property of a specified data point

GetDataValue

The value of a data point, given its series and position

GetSeriesStyle

The color, fill pattern, or other visual property of a specified series

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





Copyright © 2004. Sybase Inc. All rights reserved. Saving graph data

View this book as PDF