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

DeleteData – PB Docs 126 – PowerBuilder Library

DeleteData – PB Docs 126

DeleteData PowerScript function

Description

Deletes a data point from a series of a graph. The remaining
data points in the series are shifted left to fill the data point’s
category.

Controls

Graph controls in windows and user objects. Does not apply
to graphs within DataWindow objects (because their data comes directly
from the DataWindow).

Syntax

Argument

Description

controlname

The name of the graph in which you want
to delete a data value

seriesnumber

The number of the series containing the
data value you want to delete from controlname

datapointnumber

The number of the data point containing
the data you want to delete

Return Values

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

Examples

These statements delete the data at data point 7
in the series named Costs in the graph gr_product_data:

See Also


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