Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
NikosSpanos
Contributor III
Contributor III

Align tooltip on mousemove in d3.js v4 stacked bar chart

I have created a custom extension visual, and it looks like this:

 

Screenshot_6.png

As you can see the visual has a tooltip which is not aligned to the proper segment the mouse hovers on. For example, above the red cursor is located on the blue segment of USA and the tooltip is presented many pixels away from the proper location. I don't know what is missing from my code. That is why I ask in this forum.

 

Attached to this thread you can find the zip folder for the extension and a .qvf file with the chart. This is a pure code developing question so if here is not the correct thread to raise such issues please notify me on the comment section.

Appreciate any suggestions in advance.

 

Labels (2)
0 Replies