cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PythonChan Frequent Visitor
Frequent Visitor

Re: R Visual with transparent background

Hi

Do you solve the problem?

I have the same issue,too.

If you have already solved the problem, could you send me the method by email,  cy-song@163.com ,please.

Thank you so much

 

 

I'm sorry

just try again

ross27 Regular Visitor
Regular Visitor

Re: R Visual with transparent background

No, sorry.  I never resolved this

friedrice Regular Visitor
Regular Visitor

Re: R Visual with transparent background

Were you able to figure this out?

ssahai Frequent Visitor
Frequent Visitor

Re: R Visual with transparent background

Hi,

 

Could you figure this out?

ross27 Regular Visitor
Regular Visitor

Re: R Visual with transparent background

No, I never found a solution for this

ssahai Frequent Visitor
Frequent Visitor

Re: R Visual with transparent background

Is there a way this can be reported to Microsoft, because this really makes my visual not usable?

jfallt Frequent Visitor
Frequent Visitor

Re: R Visual with transparent background

I know this is an old thread but set the fill and the color of the element_rect layer equal to the background color

i.e. plot.background = element_rect(fill = "black", color = "black")
 
Example Below:
 
RVisual.jpg
ross27 Regular Visitor
Regular Visitor

Re: R Visual with transparent background

Hi @jfallt , the problem is that the page background is an image.  I've not tested in a while, but have you been able to set the fill to transparent?

jfallt Frequent Visitor
Frequent Visitor

Re: R Visual with transparent background

@ross27 if you set it to "transparent" it returns a white background.

arvidb New Member
New Member

Re: R Visual with transparent background

I don't know whether this will work with ggplot2 but in a visual I made based on the fmsb package I was able to work around this issue by using the par() function before the plotting was called:

 

# generic par function for graphical elements, call before the plotting
par(bg="transparent")
# this is wear the plotting of the visual actually happens radarchart(data)

 

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

Top Ideas
Users Online
Currently online: 98 members 1,573 guests
Please welcome our newest community members: