cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
CharlesF
New Member

Embedded Visual is rendering too small

Hello Everyone,

 

This is my first time here and working with Power BI.  We are trying to render power bi visulas within a React App.  We can render it, but the size of the visual is too small.  How can we style it and increase the height or width of it?

 

Under the hood, we are using a library called powerbi-client-react.  It renders within an IFrame.  Each visual/chart is rendered individually.  

 

Thanks in advanced!

 

PowerBiSmallVisualsScrubed.png

1 ACCEPTED SOLUTION
CharlesF
New Member

Update.  We were able to figure it out.  Within the powerbi-client-react component, there is a cssClassName property that we were able to use.  We created a cssClass, applied it in the cssClassName property, and set the height / width. 

View solution in original post

1 REPLY 1
CharlesF
New Member

Update.  We were able to figure it out.  Within the powerbi-client-react component, there is a cssClassName property that we were able to use.  We created a cssClass, applied it in the cssClassName property, and set the height / width. 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.