SetDataTransparency – PB Docs 126

SetDataTransparency PowerScript function

Description

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

Controls

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 tranparency 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 Values

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


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