Forum Discussion
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
- v-viigCommunity Champion
Hello pope,
Could you please send details to R-powered visuals support alias? ([email protected])
There're a few developers who can assist with this issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- v-sihou-msftMicrosoft Employee
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,
- popeFrequent Visitor
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