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 5 For creating an overlay in a graph – PB Docs 150 – PowerBuilder Library

Syntax 5 For creating an overlay in a graph – PB Docs 150

Syntax 5 For creating an overlay in a graph

Description

Specifies whether a series is an overlay, meaning that the
series is represented by a line on top of another graph type.

Controls

PowerBuilder DataWindow DataWindow
control

DataWindow Web ActiveX DataWindow
control

Syntax

[PowerBuilder]

[Web ActiveX]

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.

series

A string (PowerBuilder) or integer (Web
ActiveX) whose value is the name of the series whose overlay status
you want to change.

overlaystyle

A boolean value indicating whether you
want the series to be an overlay, meaning that the series is shown
in front as a line. Set overlaystyle to true
to make the specified series an overlay. Set it to false to remove
the overlay setting.

Return Values

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

Usage

You can specify the appearance of a series in the graph before
the application draws the graph. To do so:

  • PowerBuilder

    Define a user event for pbm_dwngraphcreate and call SetSeriesStyle
    in the script for that event. The event pbm_dwngraphcreate is
    triggered just before a graph is created in a DataWindow object.

  • Web ActiveX

    Call any of the SetSeriesStyle methods
    in the onGraphCreate event.

note.png Using SetSeriesStyle with DirectX 3D Graphs

You cannot use the overlay style for a series.

Examples

[PowerBuilder]

These statements in the Clicked event of the DataWindow control
dw_employees store the style of the series under the pointer
in the graph gr_depts in the variable style_type.
If the style of the series is overlay (true), the script changes
the style to normal (false):

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