Forum Discussion
Maikeru
7 years agoHelper II
Custom Visual: How to add Data Label to a BarChart?
Hi I am currently building a Custom Visuals inspired from the Bar Chart sample and I am trying to figure out a way to display the Data labels on top of each bar (Outside End). Appreciate any...
v-viig
7 years agoCommunity Champion
Please use tooltipService to render tooltips. You can follow our documentation.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Maikeru
7 years agoHelper II
Thanks v-viig!
I followed the online documentation and was able to add Tooltips to my visual.
However the requirement is to display the data Labels without having to hover each bar.
- v-viig7 years agoCommunity Champion
TooltipService is to show tooltip on hover event. To show labels all the time we would recommend to develop own Label component.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals