Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetDataPieExplode – PB Docs 2022 – PowerBuilder Library

GetDataPieExplode – PB Docs 2022

GetDataPieExplode

PowerScript function

Description

Reports the percentage of the pie graph’s radius that a pie slice is
exploded. An exploded slice is moved away from the center of the pie in
order to draw attention to the data.

Applies to

Graph controls in windows and user objects, and graphs in DataWindow
controls

Syntax

Argument

Description

controlname

The name of the graph for which you want the percentage a
pie slice is exploded, or the name of the DataWindow control
containing the graph

graphcontrol (DataWindow control only)

(Optional) A string whose value is the name of the graph
in the DataWindow control for which you want the percentage a
pie slice is exploded

series

The number that identifies the series

datapoint

The number of the exploded data point (that is, the pie
slice)

percentage

An integer variable in which you want to store the
percentage of the graph’s radius that the pie slice is
exploded

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, GetDataPieExplode returns null.

Examples

This example reports the percentage that a pie slice is exploded
when the user clicks on that slice. The code checks whether the graph is a
pie graph using the property Graphite. It then finds out whether the user
clicked on a pie slice by checking the series and data point values set by
ObjectAtPointer. The script is for the DoubleClicked event of a graph
object:

See also

SetDataPieExplode


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