Forum Discussion

yoogmbh_cr's avatar
yoogmbh_cr
New Member
8 years ago

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

  • v-viig's avatar
    v-viig
    Community Champion

    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

    [email protected]

  • 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