Hi Julio , you can use the grChartImg library from this <http://www.chartstoimage.eu>site. It covers almost anything you want about converting google charts to image. Supports all the browsers (newer and older versions) , also Internet Explorer versions even before version 9. Also it supports to set a custom filename for the downloaded image (this is your case).
On Thursday, July 3, 2014 3:15:24 PM UTC+3, Julio wrote: > > Hi, I'm working with google charts to generate graphical, I need to > convert these graphics to images so that they can download, I've seen > link: > > http://bl.ocks.org/nverba/5411684 > > When downloaded the image as png, the image is recorded with a name that > seems random and whitout extension, how can I do so that the image is > recorded with. Png? > > And in the browser skips the following error: > > Error: [Exception ... "Component returned failure code: 0x80070057 > (NS_ERROR_ILLEGAL_VALUE) > [nsIAnnotationService.setPageAnnotation]" nsresult: "0x80070057 > (NS_ERROR_ILLEGAL_VALUE)" > location: "JS frame :: resource :/ / app / modules / DownloadsCommon.jsm: > : DownloadsDataCtor.prototype._updateDataItemState :: line 689 "data: no] > > This java script does not work with older versions of browsers, any other > alternative? > -- 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/d/optout.
