cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
yoogmbh_cr Frequent Visitor
Frequent Visitor

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
yoogmbh_cr Frequent Visitor
Frequent Visitor

Gantt - Tooltip formatting

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

Moderator v-viig
Moderator

Re: gantt tooltip formatting + extra html

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

Moderator v-viig
Moderator

Re: Gantt - Tooltip formatting

Duplicate of this one.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com