ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The CrosshairOpacity property is used to determine and change the opacity of the crosshair in a Chart control.
Example
// Define the opacity of the crosshair
CHART_MyChart.CrosshairOpacity = 50
Syntax

Finding out the opacity of the crosshair for a Chart control Hide the details

<Result> = <Chart control>.CrosshairOpacity
<Result>: Integer
Current opacity of the chart crosshair (found between 0 and 255). By default, the opacity is set to 255 (entirely opaque).
<Chart control>: Control name
Name of the Chart control to be used.

Modifying the opacity of the crosshair for a Chart control Hide the details

<Chart control>.CrosshairOpacity = <New opacity>
<Chart control>: Control name
Name of the Chart control to be used.
<New opacity>: Integer constant
New crosshair opacity, between 0 (invisible) and 255 (completely opaque).
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help