Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to set the size of a chart in a Power BI Custom Visual

Hi!

 

I am creating a Power BI Custom Visual using R and plotly. Everything is fine except that the visual seems to be too small and have too much white space around it. I was hoping to create a visual that reach almost every edge (top,left,right and bottom). I guess there may be some typescript or code in R that can solve this.

 

If you have a suggestion or may be have already solved this. let me know

 

pigment22.png

 

Regards Geir

 

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @Anonymous,

I believe the whitespace is part of the boilerplate template - have a look at this thread to see if the changes detalied in there can assist you.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

Hi @Anonymous,

I believe the whitespace is part of the boilerplate template - have a look at this thread to see if the changes detalied in there can assist you.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors