PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 is used to get and change 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 for the Chart control.
Example
// Set the crosshair color to green
CHART_MyChart.CrosshairColor = LightGreen
Syntax

Finding out the color of the crosshair for 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.

Modifying the color of the crosshair for 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