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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
yoogmbh_cr
New Contributor

gantt tooltip formatting + extra html

Hi,

 

I'm trying to add some extra information to the GANTT visual tooltip. Best would be, if there's any way to use formatted HTML/CSS. Does anybody know

  1. if it is possible without changing code?
  2. where to start off inside the code of GANTT visual?

I had a look at the code but could figure out, where the actual rendering is done.

Any help is appreciated, thanks.

 

3 REPLIES 3
v-viig
Honored Contributor II

Gantt Chart uses Tooltip API to show a tooltip outside of an iframe element.

Tooltip API does not allow to render custom HTML/CSS code due to security concerns.

 

Data for a tooltip is generated in getTooltipInfo method.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

yoogmbh_cr
New Contributor

Hi,

 

I'm trying to add some extra information to the GANTT visual tooltip. Best would be, if there's any way to use formatted HTML/CSS. Does anybody know

  1. if it is possible without changing code?
  2. where to start off inside the code of GANTT visual to add such functionality

I had a look at the code but could figure out, where the actual rendering is done (just file name and line number would help a lot).

Any help is appreciated, thanks.

 

Carsten

v-viig
Honored Contributor II

Duplicate of this one.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Users online (4,586)