Could you please post either a link to a page with your chart, a link to a jsfiddle that shows the problem, or some code that shows the problem. A common issue that people have with getImageURI is that they try to get the image right after the draw call, but that's incorrect. The chart isn't guaranteed to have finished drawing by then. You need to listen for the ready event and then generate the image. You can find more detailed instructions as well as code samples on the Printing Documentation Page<https://developers.google.com/chart/interactive/docs/printing> .
- Sergey On Wed, Feb 26, 2014 at 8:47 AM, Bastiaan Kars <[email protected]>wrote: > Hi guys, > > I have a problem with the getImageURI() function. If I call the following > code in html, the vaxis title isn't added to the resulting png. > > document.getElementById('png').outerHTML = '<a href="' + > chart.getImageURI() + '">Printable version</a>'; > > However, the haxis title and the chart title are included in the png. > > I'll hope you can help me. > > Bastiaan > > > -- > 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 > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
