<https://lh3.googleusercontent.com/-4voNn9gRM5Q/WWWkMcVXmSI/AAAAAAAAAAM/RstJOp5Pry4vKg-JHmNvSZZ6ntNLiePZgCLcBGAs/s1600/Screen%2BShot%2B2017-07-12%2Bat%2B11.22.45%2BAM.png> My code overview
On Wednesday, July 12, 2017 at 11:21:22 AM UTC+7, Digimon Indo wrote: > > So i have following this article > https://developers.google.com/chart/interactive/docs/printing for > exporting my chart into png. > But i have little problem when i put this code > document.getElementById('png').outerHTML = '<a href="' + chart.getImageURI > () + '">Printable version</a>'; > > , > > i dont know where that code must be placed. > > My code for exporting chart : > > google.visualization.events.addListener(chart, 'ready', function() { > chart_div.innerHTML = '<img src="' + chart.getImageURI() + '">'; > console.log(chart_div.innerHTML); > > }); > > I really new on this, and i need your help. > Thank you :) > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/57b9a775-f9f0-44c0-a789-889b34dd7a09%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
