Syntax 5 For determining whether a series is an overlay

Description

Reports whether a series in a graph is an overlay -- whether it is shown as a line on top of another graph type.

Applies to

PowerBuilder DataWindow

DataWindow control

Syntax

PowerBuilder

integer dwcontrol.GetSeriesStyle ( string  graphcontrol, string seriesname, REF boolean overlayindicator )

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 overlay status.

overlayindicator

In PowerBuilder, a boolean variable in which you want to store a value indicating whether the series is an overlay. GetSeriesStyle sets overlayindicator to true if the series is an overlay and false if it is not.


Return value

Returns 1 if it succeeds and -1 if an error occurs. In PowerBuilder, stores in overlayindicator true if the specified series is an overlay and false if it is not. If any argument's value is null, GetSeriesStyle returns null.

See also

GetSeriesStyleOverlayValue