Syntax 4 For the symbol of a series – PB Docs 150

Syntax 4 For the symbol of a series

Description

Obtains the symbol used for data points in a series in a graph.

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.

seriesname

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

symbolvariable

In PowerBuilder, the variable of type
grSymbolType in which you want to store the symbol value.

For the Web ActiveX, call GetSeriesStyleSymbolValue to get the value.

For a list of values, see grSymbolType.

Return Values

Returns 1 if it succeeds and -1 if an error occurs. In PowerBuilder,
stores in symbolvariable a value of the grSymbolType
enumerated datatype for the symbol used for the specified series.
If any argument’s value is null, GetSeriesStyle returns
null.

Examples

This example stores in the variable data_pattern
the fill pattern for the series under the pointer in the graph gr_depts
in the DataWindow control dw_employees. It then sets the
fill pattern for the series Total Salary in the graph gr_dept_data
to that pattern:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x