Description
Obtains the transparency percentage of a data point in a DirectX 3D graph (those with 3D rendering).
Applies to
DataWindow control
Syntax
integer dwcontrol.GetDataTransparency ( string graphcontrol, integer seriesnumber, int datapoint, REF int transparency)
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 that identifies the series from which you want data. |
datapoint |
The number of the data point for which you want the 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
Returns 1 if it succeeds and -1 if an error occurs. If any argument's value is null, GetDataTransparency returns null.
Usage
GetDataTransparency retrieves data from any DirectX 3D graph (those with 3D rendering).
Examples
These statements obtain the transparency percentage of data point 3 in the series named Costs in the graph gr_computers in the DataWindow control dw_equipment:
integer SeriesNbr, rtn, transp_value // Get the number of the series. SeriesNbr = dw_equipment.FindSeries( & "gr_computers", "Costs") rtn = dw_equipment.GetDataTransparency( & "gr_computers" , SeriesNbr, 3, transp_value)
See also