We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to enable crosshair and crosshair labels in the Chart?

Crosshair is an interactive feature in the Chart that displays horizontal and vertical lines along with tooltip like labels in the horizontal and vertical axes on mouse hover of the chart area. Refer to the Crosshair and Trackball for more information on the features.

To enable Crosshair, the visible property should be enabled. To display the Crosshair label in axis, the visible property of the crosshairLabel

in the corresponding axis should be enabled. Crosshair label in the horizontal axis displays the X value and vertical axis displays the Y value of the current mouse move coordinate.

The following code example illustrates this.


Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
5253 07/23/2015 09/03/2015 JavaScript ejChart 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon