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

SetDataTransparency – PB Docs 2021 – PowerBuilder Library

SetDataTransparency – PB Docs 2021

SetDataTransparency

PowerScript function

Description

Sets the transparency percentage of a data point in a series in a
DirectX 3D graph (those with 3D rendering).

Applies to

Graph controls in windows and user objects, and graphs in DataWindow
controls

Syntax

Argument

Description

controlname

The name of the graph in which you want to set data, or
the name of the DataWindow control containing the graph.

graphcontrol (DataWindow control only)

(Optional) A string whose value is the name of the graph
in the DataWindow control in which you want to set the
transparency value of a data point.

seriesnumber

The number that identifies the series in which you want to
set data.

datapoint

The number of the data point for which you want to set a
transparency value.

transparency

Integer value for percent transparency. A value of 0 means
that the data point is opaque and a value of 100 means that it
is completely transparent.

Return value

Integer.

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

Usage

SetDataTransparency sets the transparency value for a data point in
any DirectX 3D graph (those with 3D rendering).

Examples

These statements set the transparency percentage to 50% for the
clicked data in the graph gr_1 in the DataWindow control
dw_employee:

These statements set the transparency percentage to 50% for the
clicked data point in the graph gr_employee.

See also

FindSeries

GetDataTransparency

GetSeriesTransparency

SetSeriesTransparency


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