vizulyApril 11, 2016 at 7:30 pm #6097
It looks like you are on the right track. Sometimes these issues can be tricky to debug as the layout can be a little complex.
What I might suggest is that instead of piggy-backing on the
haloGroup(which is being used to generate path elements) that you do the following and create a completely different layer to put the labels on (I suspect the text elements are getting in the way of the mouse-over being triggered by the paths.)
1. In the initialize routine add a new
gelement named something like
labelPlot. You can insert this
gelement before the
haloPlotso it doesn’t interfere with the mouse events.
2. In the update routine create a new group called
labelGroupand follow the same pattern as the haloGroup.enter()/exit()… But instead of adding path elements, add your
textpathsYou can use the same data to populate this new group for its measurements and layout.
Doing the above should keep things separate and easier to debug. If this doesn’t help and you want to send me over your code I can take a stab at trying to see what is going on.
You must be logged in to reply to this topic.
© 2021 — vizuly.io