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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
pope
Frequent Visitor

Interactive R visual working on desktop but not service

I have developed a visual using ggplot2 and plotly. It works like a charm on desktop ...

But when I upload the report the tooltips are reverted back to default settings

This is the code I am using

p = ggplotly(g) 

# some plotly re-design 
hoverconfig<-list(
  bgcolor= "#333333",
  bordercolor="#333333",
  font = list(
    color="#c1c1c1"
  )
)
p <- layout(p,hoverlabel=hoverconfig)

# save HTML with predefined name 
internalSaveWidget(p, 'out.html')

Any ideas on how I can fix this?

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@pope

 

In Power BI, the plotly HTML output is not supported fort R Visuals in general.

 

Plotly can only be used if it produces an IMAGE\PNG for R visuals in PBI. Not HTML. 

 

Regards,

Fine reply from a moderator ... not only did I say it was working but power BI does offer support for it. FYI plotly does not handle the HTML output, htmlwidget does that

 

Thanks anyway

v-viig
Community Champion
Community Champion

Hello @pope,

 

Could you please send details to R-powered visuals support alias? (pbircvsupport@microsoft.com)

There're a few developers who can assist with this issue.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.