Forum Discussion
Anonymous
8 years agoNot applicable
Adding tooltips to a custom visual
Hi, I would like to add tooltips to a custom visualization I am currently working on. i have been reading: https://github.com/Microsoft/powerbi-visuals-utils-tooltiputils/blob/master/docs/api...
- 8 years ago
We don't have any basic sample but we would recommend to take a look at how TooltipUtils work with TooltipService directly.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
v-viig
8 years agoCommunity Champion
Hi Anonymous,
You're right. TooltipService from TooltipUtils depends on d3v3.
Tooltip API can be used directly by firing move, show, hide methods of internal TooltipService.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Anonymous
8 years agoNot applicable
Thanks, is there any sample code available that shows ho to call these methods directly from a custom visual?
- v-viig8 years agoCommunity Champion
We don't have any basic sample but we would recommend to take a look at how TooltipUtils work with TooltipService directly.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals