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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.