Syntax 4 For the symbol of a data point – PB Docs 150

Syntax 4 For the symbol of a data point

Description

Obtains the symbol of a data point 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.

seriesnumber

The number of the series in which you
want the symbol type of a data point.

datapointnumber

The number of the data point for which
you want the symbol type.

symbolvariable

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

In the Web ActiveX, call GetDataStyleSymbolValue to get the value instead of using
a reference variable.

For a list of values, see grSymbolType.

Return Values

Returns 1 if it succeeds and -1 if an error occurs. Stores,
according to the type of symbolvariable, a
value of that enumerated datatype representing the symbol used for
the specified data point. If any argument’s value is null, GetDataStyle returns
null.

Examples

These statements store the symbol for a data point
in the variable symbol_type. The data point is the sixth
point in the series named in the SingleLineEdit sle_series
in the graph gr_depts in the DataWindow control dw_employees:

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