Home › forums › Chart Support › How to implement trackball behavior in canvas line chart
We wanted to show the crosshair intersected all points y values with respective legend text.
Since we wanted vertical line , so we used axisX crosshair but it gives only one value of x instead of all intersected points y values, if it is possible we can show those y values in their respective legend text.
Kindly provide a soultion to show y values in lendend text from axis X crosshair
I have added trackball ball requirement image url: https://imgur.com/tO5AIJ2
You can achieve this by using updated event of toolTip as shown in this JSFiddle.
Thank you for response,
Since shared is made true, i get tool tip whenever mouse hovered on chart. I had created tooltip custom property for each datapoint, when tooltip shared was false. How to show tooltip of one datapoint info only when mouse hovered on datapoint.
Since for above issue we need shared to be true , but also we need to show only one datapoints tootip.
How to achieve this
And one more thing when mouse hovered out of chart how to make those datapoints value to empty which is appended with custom legends
You can achieve this with the help of updated & hidden events of crosshair as shown in this updated JSFiddle.
You must be logged in to reply to this topic.