Use this method to programmatically enable or disable the crosshairs mode. This method is equivalent to selecting the Crosshairs button in the Toolbar.
The parameter required for this method is described below.
|ButtonSelected||Boolean value indicating the crosshairs mode. TRUE indicates crosshairs is enabled, and the Crosshairs button in the Toolbar is displayed as selected; FALSE indicates crosshairs in disabled, and the Crosshairs button in the Toolbar is displayed as unselected.|
NOTE: The crosshairs characteristics are determined by the Crosshairs property.
XYChartCtrl.SetCrosshairs False 'Disable the Crosshairs; a Refresh call is not required
XYChartCtrl.SetCrosshairs True 'Enable the Crosshairs; a Refresh call is not required