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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

D3.JS tooltip in Power BI Desktop

Dear, Everyone

I am new with D3.JS. I want to implement tooltip in D3.js code, it not works in power BI.But in web HTML file it works fine.

like below:

khihortmrm_0-1596716503442.png

 

this is my file power BI customize :

https://www.dropbox.com/s/e8jcsteot6bve0o/d3jsvisual.1.1.0.0.pbix?dl=0

 

 

Any suggestion on this?
Thank you in Advacne for your help.

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

@amitchandak thank for your reply.But your link sent to me(https://www.mssqltips.com/sqlservertip/5273/how-to-render-d3js-custom-charts-in-power-bi-desktop/).I followed it, but it not show how to implement Tooltip in Power BI.

Any other suggestion for me.
Thank in advance for your sharing your knowledge.

View solution in original post

Anonymous
Not applicable

My Solution I just play arround with .attr("x", (d3.event.pageX) +"px").attr("y",(d3.event.pageY -28) +"px");
now it works what i need.

View solution in original post

5 REPLIES 5
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

D3.js is a custom visual, you could contact with the author here:

 
Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Im having the same issue.  Could you provide the code you used to get the tooltips to work?

Anonymous
Not applicable

@amitchandak thank for your reply.But your link sent to me(https://www.mssqltips.com/sqlservertip/5273/how-to-render-d3js-custom-charts-in-power-bi-desktop/).I followed it, but it not show how to implement Tooltip in Power BI.

Any other suggestion for me.
Thank in advance for your sharing your knowledge.

Anonymous
Not applicable

My Solution I just play arround with .attr("x", (d3.event.pageX) +"px").attr("y",(d3.event.pageY -28) +"px");
now it works what i need.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.