dotnetCHARTING Send comments on this topic.
Crosshair Property
See Also 
dotnetCHARTING Namespace > Axis Class : 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

Visual Basic (Declaration) 
Public Property Crosshair As AxisTick
Visual Basic (Usage)Copy Code
Dim instance As Axis
Dim value As AxisTick
 
instance.Crosshair = value
 
value = instance.Crosshair
C# 
public AxisTick Crosshair {get; set;}

Remarks

Use Chart.ToolTipTemplate to specify the combined tooltip text for crosshair tooltips.

See Also

© 2021 All Rights Reserved.