.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class : Crosshair Property
Crosshair Property
(JS Chart Only) Gets or sets an axis tick that follows the mouse cursor and invokes combined tooltips or if x crosshair is combined with y axis crosshair, the y axis will show multiple crosshairs for all point values at the given x position. Instantiate Crosshair property with an axis tick to enable.
Syntax
'Declaration
 
Public Property Crosshair As AxisTick
'Usage
 
Dim instance As Axis
Dim value As AxisTick
 
instance.Crosshair = value
 
value = instance.Crosshair
public AxisTick Crosshair {get; set;}
Remarks
Use Chart.ToolTipTemplate to specify the combined tooltip text for crosshair tooltips.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also