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

SeriesCount – PB Docs 2021 – PowerBuilder Library

SeriesCount – PB Docs 2021

SeriesCount

PowerScript function

Description

Counts the number of series in a graph.

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 number of
series, 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 number of
series

Return value

Integer.

Returns the number of series in the graph if it succeeds and -1 if
an error occurs. If any argument’s value is null, SeriesCount returns
null.

Examples

These statements store in the variable li_series_count the number of
series in the graph gr_product_data:

These statements store in the variable li_series_count the number of
series in the graph gr_computers in the DataWindow control
dw_equipment:

See also

CategoryCount

DataCount


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