3 ms·
Neat, a pity I didn't have this a few weeks ago, when I wrote my own (for showing the value on hover in a time series)
by RBerenguel 14y ago
Neat, a pity I didn't have this a few weeks ago, when I wrote my own (for showing the value on hover in a time series)
- RBerenguel 14y agoI have to say, my version had fixed placement instead (using the dot position and a relative adjustment respect to its size)
- zackzackzack 14y agoPeople keep bringing that up and I agree. I am trying to figure out how to make it general though. Ideally someone should be able to call this function on any svg element, whether it's a point (circle), path, or what have you. Still thinking through how to make that work.
- RBerenguel 14y agoYes, I understand. I wrote a mouseover method for the dots, which kind of works but it's a mess as soon as you have several graphs on the same page (hint: rewriting the callback definition of the csv reader saved my day after all...)