Forum Discussion

King_Jin's avatar
King_Jin
New Member
6 years ago

Chart made by Python, can't show tooltips

Hi,

I am learning to use Python to draw some line/scatter chart in power BI.

I can do it and the chart show correctly.

but the issue is that when I move the mouse to the chart, there is no tooltips like other chart.

for example, when I move the mouse to Jan, it will show the revenue is 10M,,,,

 

How to add tooltips for the chart made by Python?

thank you very much!

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Write more Python. Sorry, not trying to be flippant, but you would have to write Python to display something like a tooltip in a Python visual. Same goes for R and SVG, except that you would use R and SVG respectively. Python, R and SVG visuals are just that, visuals that get rendered based upon the programming language. Power BI knows nothing about the actual visual rendered so it cannot possibly show a tooltip. That would be some kind of magic if it could.

  • v-easonf-msft's avatar
    v-easonf-msft
    Community Support

    Hi , King_Jin 

    Sorry this is not supported currently. 

    Many visualization in PowerBI do not yet support built-in tooltips,  let alone chart by  python.

     

    Maybe you can check more Known limitations here.

    https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

     

    You  also can come up with a new idea and add your comments there to make this feature coming sooner. https://ideas.powerbi.com/forums/265200-power-bi-ideas

     

     

    Best Regards,
    Community Support Team _ Eason