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
akj2784
Post Partisan
Post Partisan

How to remove extra padding in the Custom R visual in Power BI

Hi All,

 

I have created a scatter plot using R and Custom visual method by pbiviz.

Somehow Power BI adds extra padding throughout. Is there any way to remove that ?

 

I did not find the option to remove that. 

Chart.png

 

 

 

2 REPLIES 2
Anonymous
Not applicable

I have the same issue, i'm using ggplotly to create it, i can change the padding on rstudio (viewer), and using htmlwidgets::savewidget works too, but when i create the custom visual, it still the padding : 40 px on style, i'm creating the custom visual using this blog.

 

https://microsoft.github.io/PowerBI-visuals/tutorials/building-r-powered-custom-visual/creating-r-po...

 

regards

v-shex-msft
Community Support
Community Support

HI @akj2784,

 

Can you please provide more detail content to description your scenario? I'm not so clear how do you design visual graph.

Have you turn on any analysis lines on visual? if this is a case, I'd like to suggest you turn off it first.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.