0

I'm using gwt to develop a web-app and I want the user to be able to get an image of a chart that is displayed. The specific widget is a LineChart (com.google.gwt.visualization.client.visualizations.corechart.LineChart).

The user should be able to copy the contents of the chart to the clipboard (as an image) or download an image of the widget.

I read about ZeroClipboard which uses an invisible flash movie to copy text to the clipboard. Is there anything similar that can be used with more than just text?

My current work around for this is to provide an ImageLineChart (com.google.gwt.visualization.client.visualizations.ImageLineChart) which the user can right-click to save the image. Though I don't like this since it requires opening a the new chart in a popup (so the user can click on it) and the ImageLineChart looks different then the original LineChart.

4

0 回答 0