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 CrosshairColor property gets and sets the color of the crosshair in a Chart control.
Remark: If the color of the crosshair is automatic, this color is based on the color of the grid in the Chart control.
Example
// Set the crosshair color to green
CHART_MyChart.CrosshairColor = 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: 02/12/2024

Send a report | Local help