Navigating through a chart's elements & tooltips using arrow keys! #11150
Replies: 2 comments 5 replies
-
Hi @firststeven first of all nice job. That code is awesome. I did tried to tinker with it but this is one tough cookie to crack. I did simplify a bit your code my creating a function so you will use the canvas ID only once. Sorry 3rd update! I will try to continue tomorrow see if on initial arrow press it should start on index 0, dataset 0.
|
Beta Was this translation helpful? Give feedback.
-
Hi Steven, You can post it on Stack Overflow no problem at all. BTW how to found the initial arrow press is shear genius. I suspect Point Styling issue you indicated is what I also started to notice. Probably the same issue. Regarding to point 1: SOLVED There are 2 ways to do this. This does mean that mousemove will be disabled across the board. It can be done by only removing it from the tooltip specifically but it is giving me errors when the mouse hovers on the points. The best way would be in the function like this: Method One Second Method
Updated Code segment
|
Beta Was this translation helpful? Give feedback.
-
It's almost there!
https://stackoverflow.com/questions/75479945/how-can-i-navigate-through-chart-jss-elements-tooltips-using-arrow-keys
Help me get it to the finish line :)
Beta Was this translation helpful? Give feedback.
All reactions