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
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!


My course: Introduction to Developing Power BI Visuals


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!


My course: Introduction to Developing Power BI Visuals


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




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.

Top Solution Authors
Top Kudoed Authors