Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 18014

Save visual from Page.GetVisuals as image

$
0
0

I am using the PowerBI JS API to get reports and visuals. So far using the function below gives the title of the visuals and the visuals in svg tags.

report.getPages() .then(function (pages) {

// Retrieve first page.

var firstPage = pages[0];

firstPage.getVisuals() 

 .then(function (visuals) {

console.log(visuals); }) })

 

I want to download each visual as an image and save them to my PC. 

Any one has a solution? 

I've tried many methods without success 


Viewing all articles
Browse latest Browse all 18014

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>