Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have embedded couple of charts on my ASP.NET MVC application. "powerbi.embed" is actually creating an iframe and inside an iframe, it is showing all the charts (SVG commands). I have one button on the screen with "Export" label.
When a user clicks on button chart needs to be exported in JPEG.
As of now, there is no feature/functionality available which can export chart into JPG.
I found a way if I can get the content of the iframe and get into the SVG text, I can convert SVG into JPG and get to the solution.
Unfortunately, when I try to get the iframe content from my page, It is throwing "access denied" error.
How would I achieve this, Any Idea?
I dont think you can get the iframe cotent, as it is not in the same/trust domain of your application
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
20 | |
19 | |
18 | |
9 |