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 1 For the colors of a series – PB Docs 2019 – PowerBuilder Library

Syntax 1 For the colors of a series – PB Docs 2019

Syntax 1 For
the colors of a series

Description

Obtains the colors associated with a series in a graph.

Applies to

PowerBuilder DataWindow

DataWindow control

Syntax

PowerBuilder

Argument

Description

dwcontrol

A reference to the DataWindow control containing
the graph.

graphcontrol

A string whose value is the name of the graph in
the DataWindow control.

seriesname

A string whose value is the name of the series for
which you want the color.

colortype

A value of the grColorType enumerated datatype (in
PowerBuilder) specifying the aspect of the series for which you
want the color.

For a list of values, see grColorType.

colorvariable

In PowerBuilder, a long variable in which you want
to store the color’s RGB value.

Return value

Returns 1 if it succeeds and -1 if an error occurs. In
PowerBuilder, stores in colorvariable the RGB value of the specified
series and item. If any argument’s value is null, GetSeriesStyle returns
null.

Examples

These statements store in the variable color_nbr the background
color used for the series PCs in the graph gr_computers in the
DataWindow control dw_equipment:

See also

GetDataStyle

GetSeriesStyleColorValue

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