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

Syntax 2: For the line style and width used by a series – PB Docs 2018 – PowerBuilder Library

Syntax 2: For the line style and width used by a series – PB Docs 2018

Syntax 2: For the line style and width used by a series

Description

Obtains the line style and width for a 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 line
style and width for a series in a graph, 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 line
style information.

seriesname

A string whose value is the name of the series for
which you want the line style information.

linestyle

A variable of type LineStyle in which you want to
store the line style of seriesname.

linewidth

An integer variable in which you want to store the
line width for seriesname. The width is measured in
pixels.

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. Stores in
linestyle a value of the LineStyle enumerated datatype and in linewidth
the width of the line used for the specified series. If any argument’s
value is null, GetSeriesStyle returns null.

Examples

These statements store in the variables line_style and
line_width the line style and width for the series under the mouse
pointer in the graph gr_product_data:

See also

AddSeries

GetDataStyle

FindSeries

SetDataStyle

SetSeriesStyle


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