A quick-start react project that helps you to learn how to enable crosshairs and trackballs in Syncfusion React Charts. This project also contains code snippet to enable and customize the crosshair tooltip.
Documentation: https://ej2.syncfusion.com/react/documentation/chart/cross-hair-and-track-ball
Online examples:
https://ej2.syncfusion.com/react/demos/#/material/chart/crosshair
https://ej2.syncfusion.com/react/demos/#/material/chart/trackball
Make sure that you have the latest versions of NodeJS and Visual Studio Code in your machine before starting to work on this project.
To run this application, you need to clone the crosshairs-and-trackballs-in-syncfusion-react-charts
repository and then open it in Visual Studio Code. Now, simply install all the necessary react packages into your current project using the npm install
command and run your project using the npm start
command.