ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The CrosshairColor property gets and sets the color of the crosshair in a Chart control.
Note: If the color of the crosshairs is automated, the color is based on the color of the gridlines in the Chart control.
Example
// Colore la mire en vert
GRF_MonGraphe.CouleurMire = LightGreen
Syntax

Getting the color of the crosshair of a Chart control Hide the details

<Result> = <Chart control>.CrosshairColor
<Result>: Integer constant
Current color of the chart crosshair. This parameter corresponds to one of the color constants.
<Chart control>: Control name
Name of the Chart control to be used.

Setting the color of the crosshair in a Chart control Hide the details

<Chart control>.CrosshairColor = <New color>
<Chart control>: Control name
Name of the Chart control to be used.
<New color>: Integer constant
New color of the chart crosshair. This parameter corresponds to one of the color constants.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help