Forum Discussion
Anonymous
9 years agoNot applicable
Adding Tooltips to HTMLElement?
I have a custom visual that is very similar to the native KPI. I want to add tooltips that look standard to it, but I don't use d3, it is just an HTMLElement. I can go through the installation of...
v-viig
9 years agoCommunity Champion
Hello Anonymous,
It'd be better to use d3 and powerbi-visuals-utils-tooltiputils.
You just have to select your HTMLElement using d3:
d3.select(Your_HTMLElement)
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals