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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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