hi!! I searched on several models, changed from the original chart, added tooltip as shown:
I tried to apply the same method, for this chart it is not working. For the mousemove, bisect I added parseDate(d.date), still not working.
One problem is that you’re using
d3.pointer, which was introduced in d3 6, but are importing d3 version 5. After that, there’s still a bug because the
value you are passing to
bisect is undefined. I haven’t tracked down the root cause, but hopefully this sets you on the way to implementing mousemove interactivity.
thanks to you I could find another way to see it.
Now the result is weird, when you move the brush the tooltip doesn’t move, Could you suggest any possible solution?