Syntax 2 For scatter graphs – PB Docs 126

Syntax 2 For scatter graphs

Description

Changes the value of a data point in a series on a graph.
You specify the data point by position and provide an x and y value.

Controls

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

Syntax

Argument

Description

controlname

The name of the scatter graph in which
you want to modify data in a series

seriesnumber

The number that identifies the series
in which you want to modify data

datapoint

The number of the data point for which
you want to modify data

xvalue

The new x value of the data you want
to modify

yvalue

The new y value of the data you want
to modify

Return Values

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

Usage

For scatter graphs, there are no categories. You specify the
position in the series whose data you want to modify and provide
the x and y values for the data.

Examples

These statements modify the data point 9 in the series
named Test One in the scatter 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