I'm writing a custom visual with some KPIs and a bar chart. I have created the bar chart by following the below article.
https://tsmatz.wordpress.com/2016/09/27/power-bi-custom-visuals-programming/
The visual is working fine. Now I want a display a tooltip when mouse hovered on the bar chart. I followed the below documentation (couldn't understand most of it) and implemented the same.
https://github.com/Microsoft/PowerBI-visuals/blob/master/Visual/Tooltips.md
My visual doesn't show anything. When I cross-checked the culprit was this line in the constructor.
this.tooltipServiceWrapper = createTooltipServiceWrapper(this.host.tooltipService, options.element);
When I commented this line, my visual works fine. What I'm I doing wrong? How to get the tooltips working?
Please help asap!
When I commented this line, my visual works fine. What I'm I doing wrong? How to get the tooltips working?
Please help asap!