Closed GoogleCodeExporter closed 9 years ago
Pls provide an example test case where I can use this code to ensure I'm doing
what
you need re the save/image bytes and/or tasks to insert to a div etc...
Original comment by gslen...@gmail.com
on 10 Feb 2009 at 9:44
Alrighty, here is code that takes a base64 string of a png (what OFC uses) and
turns
it into a download prompt for the user to click save or open. See line 131 of
Test.java for the sample client side code. Feel free to ask me any questions!
Thanks
Original comment by Andiga...@gmail.com
on 18 Feb 2009 at 2:26
Attachments:
Any status updates on this issue?
Original comment by Andiga...@gmail.com
on 12 Mar 2009 at 7:19
The Attached example by Andigator was very helpful for me, Thank you. But the
way how
to get image "binary" data is missing. Here is approach how to do that.
public class ExtendedChartWidget extends ChartWidget {
public String getImageData() {
return getImageData(getSwfId());
}
private native String getImageData(String id)
/*-{
var swf = $doc.getElementById(id);
var data = swf.get_img_binary();
return data;
}-*/;
}
Original comment by momeg...@gmail.com
on 20 Mar 2009 at 1:20
I am currently evaluating charting frameworks for my company and OFCGWT is a
promising candidate. However, export of charts is a major requirement for us.
At this
point I am not exactly sure whether the issue as it is currently defined
exactly fits
our needs, but I will try to follow the progress and maybe give some input as
well.
In any case, keep up the good work!
Original comment by ralf.gautschi
on 24 Apr 2009 at 6:54
The latest SVN and demo pages now show a image export option (with backend
code).
Please test/review and provide comments. I will be closing this issue soon as I
believe the feature/function has been solved.
Original comment by gslen...@gmail.com
on 24 Apr 2009 at 11:22
Original comment by gslen...@gmail.com
on 26 Apr 2009 at 10:21
I will be testing the image export this week. By the way, is the current beta
release
compatible with GWT 1.6?
Original comment by ralf.gautschi
on 11 May 2009 at 6:47
Hi momega23, I tried the code snippet shared by u for one of the ofcgwt charts.
The
value for '$doc.getElementById(id)' is always null for me. Can you help me onto
this?
I want to save the chart as an image and so far didn't find a satisfactory
solution
anywhere.
Original comment by ramandee...@gmail.com
on 19 Jan 2010 at 11:13
gslender wrote:
"The latest SVN and demo pages now show a image export option (with backend
code)."
On which demo page can I find this export button?
Original comment by csillag....@gmail.com
on 14 May 2010 at 4:29
Original issue reported on code.google.com by
Andiga...@gmail.com
on 6 Feb 2009 at 2:41