Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi everyone,
I'm trying to make R Custom visuals with plotly and have closely followed the guide outlined here from RADACAD. However, when I imported the custom visual to Power BI, it gave me a blank visual and I do not get any error messages:
Whereas I expect to see this:
Below is the R script I used (the default when downloading sampleRHTMLVisual):
source('./r_files/flatten_HTML.r') ############### Library Declarations ############### libraryRequireInstall("ggplot2"); libraryRequireInstall("plotly") #################################################### ################### Actual code #################### g = qplot(`Petal.Length`, data = iris, fill = `Species`, main = Sys.time()); #################################################### ############# Create and save widget ############### p = ggplotly(g); internalSaveWidget(p, 'out.html'); ####################################################
Has anyone encountered this issue before?