I'm testing Fusioncharts for a while. I've done a bunch of test and i like it very much. Before recommend it to my company and buy the license, i tried to integrate it with java spring MVC CDN i made.
It's working well ... but i 've 1 problem. I want to save on server my charts as jpg. My server not allowed PHP so I have to made in pure java/JSP. A controller will ask for this image and will build a full document.
I include
[quote]
fusionchartsexporter_j2sdk1.4.2
fc_servlet_exporter_java6
[/quote]
my web.xml has
and a JS that has
[quote]
var chart = getChartFromId("myChartId");
chart.exportChart( {exportFormat: 'JPG'} );
[/quote]
and velocity template is :
[quote]
exportEnabled='1' exportAtClient='0' exportAction='download' exportFileName='ExportedChart' exportHandler='FCExporter' >
#foreach( $data in $datas )
#end
[/quote]
I use my computer has test server. so i try to save to "C:tmp" ... nothing in. When i click on export button, i see the progress bar and afterward i get a beautifull blank page with nothing
[/quote]
Thanks a lot to take time to help me


Back to top
MultiQuote