Syntax 3 For the fill pattern of a data point – PB Docs 150

Syntax 3 For the fill pattern of a data point

Description

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

datapointnumber

The number of the data point for which
you want the fill pattern.

fillvariable

In PowerBuilder, a variable of type FillPattern
in which you want to store the fill pattern value.

In the Web ActiveX, call GetDataStyleFillPattern to get the value.

For a list of values, see FillPattern.

Return Values

Returns 1 if it succeeds and -1 if an error occurs. In PowerBuilder, GetDataStyle stores
a value of the FillPattern enumerated datatype representing the
fill pattern used for the specified data point. If any argument’s
value is null, GetDataStyle returns null.

Examples

This example gets the pattern used to fill data point
6 in the series entered in the SingleLineEdit sle_series
in the graph gr_depts in the DataWindow control dw_employees.
The information is assigned to the variable data_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