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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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