Closed Priyami closed 3 years ago
@princiya
<div>
was created, when I looked into the Developer tool. But it is not rendering on the screen. I have tried many attributes like z-index, background color, visibility. Nothing works. Please have a look.Tooltip rendered on the DOM. Still, it's not perfectly pointed near the bubbles.
I have not tested this PR. but does the tooltip itself appear, and now you want to adjust its coordinates relative to the bubble?
then use position:relative
for div wrapper. the tooltip itself will be position:absolute
and will be relatively positioned to the wrapper bubble.
https://jarrettmeyer.com/2018/06/21/d3-capturing-mouse-events
-The above link shows how the mouse event captures the coordinates and other mouse events works.
@Priyami there is a merge conflict with Bubblechart.css. when this is resolved, we can merge this PR. Thank you for you work... :)
@Priyami there is a merge conflict with Bubblechart.css. when this is resolved, we can merge this PR. Thank you for you work... :)
@Princiya Thank you!. This is awesome and I like to learn and do more challenging work like this.
thanks @Priyami . good job 👏
Contributors git avatar image added inside the bubbles
<def><pattern "id":"contributor_repo_id"><image "xlink:href": "avatar_url"></image></pattern></def>
with attributes defined.<circle "fill":"#avatar_url"></circle>
Tooltip added for each bubble
<div>
is defined with attributes like opacity, id, background colorshowtooltip() movetooltip hidetooltip
and its attributes defined in each function.on("mouseover", showTooltip) .on("mousemove", moveTooltip) .on("mouseleave", hideTooltip)