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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors