Forum Discussion

pope's avatar
pope
Frequent Visitor
8 years ago

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-viig's avatar
    v-viig
    Community 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

    [email protected]

  • v-sihou-msft's avatar
    v-sihou-msft
    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,