Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |