google / google-visualization-issues

288 stars 35 forks source link

Chart as image to save #731

Open orwant opened 9 years ago

orwant commented 9 years ago
What would you like to see us add to this API?

The feature of saving screenshot of annotated timeline chart,means saving any chart
as a image for use.

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
annotated timeline chart

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by amol.chaudhari@alphabricks.com on 2011-11-02 11:30:40

orwant commented 9 years ago
I'm also looking for this

Original issue reported on code.google.com by pavuluri.priyanka on 2011-11-29 12:55:32

orwant commented 9 years ago
Third vote for this, I want to be able to convert my interactive LineChart to a static
image. My chart is a Dual-Y axis chart which is not supported by the older Google Charts
API (which allows the generation of static PNG images)

Original issue reported on code.google.com by finlayconsultingsolutions on 2012-03-29 11:02:04

orwant commented 9 years ago
Makes a lot of sense to include this in the Toolbar element (https://developers.google.com/chart/interactive/docs/gallery/toolbar)

Original issue reported on code.google.com by Danny@upstream.nl on 2012-11-21 20:19:33

orwant commented 9 years ago
Also looking forward to that. Seems like a must be thing for visualization component.

Original issue reported on code.google.com by ormisson on 2013-01-15 12:11:12

orwant commented 9 years ago
For anyone whois looking for a solution to save graphs to JPG/PNG, look into:
http://www.battlehorse.net/page/topics/charts/save_google_charts_as_image.html
http://stackoverflow.com/questions/13824096/save-google-charts-as-a-image
http://greenethumb.com/article/1429/user-friendly-image-saving-from-the-canvas/

Original issue reported on code.google.com by Danny@upstream.nl on 2013-03-08 16:06:02

orwant commented 9 years ago
Issue 1249 has been merged into this issue.

Original issue reported on code.google.com by dlaliberte@google.com on 2013-06-27 13:40:38

orwant commented 9 years ago
Unfortunately, this seems to take a very long time to create this. (More than 1,5 years
allready). 

I think this has a higher priority than low because in the previous chart API this
was a feature. Hypothetically, I would call this a bug for taking so long to place
the allready existing feature into this library.

Maybe it's nice to have some feedback whether or not there is being looked at this.

Original issue reported on code.google.com by henrinijborg on 2013-06-27 14:11:37

orwant commented 9 years ago
Agreed, it should be a higher priority, but enhancements only get low priority here.
 We do consider the number of stars, so do vote.  I can say we are hoping to give this
issue some time, but we have no specific plans yet.  Also the related issue 85 (saving
as PDF).

Original issue reported on code.google.com by dlaliberte@google.com on 2013-06-27 14:18:21

orwant commented 9 years ago
Nice

Original issue reported on code.google.com by henrinijborg on 2013-06-27 14:25:52

orwant commented 9 years ago
This is needed to use google charts on emails, or offline browsing. Without this feature,
google charts api shouldn't be discontinued!

Original issue reported on code.google.com by diego.torres on 2013-07-07 00:06:26

orwant commented 9 years ago
Agreed - you should not be depreciating that charts api without including the ability
to save the chart in the updated version.  We use this feature a ton and really need
the ability.    Thanks.

Original issue reported on code.google.com by bob@rowefamily.com on 2013-07-14 14:12:23

orwant commented 9 years ago
I'm looking forward to solution of this issue. Thanks in advance!

Original issue reported on code.google.com by milosgulic on 2013-07-18 12:30:36

orwant commented 9 years ago
Thanks for making this time-saving API! Google Charts is the cleanest and easiest to
implement JavaScript Charts API that I've come across. Problem is, I assumed it was
drawing the chart on an HTML5 canvas. I now understand that it instead uses vectors
to draw everything. While this feature has now been on the list for almost two years,
there are third party solutions that temporarily solve this. One is called grChartImg
which claims to convert Google Charts to images. That solution looks nice. 

I haven't tested this but, if you wanted implement your own, use something like XMLSerializer
to convert the SVG DOM object to a string then input that into CanVG to convert the
serialized string to an HTML5 Canvas. Call the canvas.toDataURL() to save it. With
that said, I would much appreciate if this feature were implemented in the API as a
utility function WITHOUT dependencies on third-party libraries!

Original issue reported on code.google.com by kgbedell on 2013-09-04 19:25:17

orwant commented 9 years ago
This would be a great feature!

Original issue reported on code.google.com by rhardgrave on 2013-11-19 14:21:30

orwant commented 9 years ago
This is a basic feature, I wonder how google skipped this.

Original issue reported on code.google.com by cd10anil on 2013-12-17 02:49:37

orwant commented 9 years ago
I was also trying to get google chart into email.

Original issue reported on code.google.com by rmalmstead@momanage.com on 2014-01-24 02:54:16

hafridi commented 9 years ago

I would like to see this as well. It is a well needed feature.

garmr commented 8 years ago

Hello,

first, thank you for this great api !

I need this feature to allow server side processes to retrieve chart in image format prior to include these images in emailed reports.