Server Side Export Help

Recommended Posts

First of all, I am assuming that I can follow the same steps with FusionWidget server-side export as described for FusionChart server-side export. Is this correct?


I am trying to get a FusionWidget (LinearGauge) exported server-side. Here is what I have setup so far:


Copied fcexporter.jar to WEB-INF\lib

Copied fusioncharts_export.properties to WEB-INF\classes and configured with these settings:








Added additional attributes to my chart xml like this:


<chart bgColor="FFFFFF" bgAlpha="0" showBorder="1" upperLimit="100" lowerLimit="0" gaugeRoundRadius="5" chartBottomMargin="10" ticksBelowGauge="0" showGaugeLabels="0" valueAbovePointer="0" pointerOnTop="1" pointerRadius="9" exportEnabled="1" exportAtClient="0" exportAction="save" exportHandler="http://localhost/mysite/FlashCharts/v31/ExportHandlers/FCExporter.jsp">


Created ExportHandlers folder as shown in exportHandler attribute above and put FCExporter.jsp and FCExporterError.jsp there. Also created Resources folder under ExportHandlers folder and put FCExporter_IMG.jsp and FCExporter_PDF.jsp in there.


When I click Submit button on my page the results come back, and the chart is generated in the browser, but an image version of it is not showing up in my "charts" folder. What else do I need to do? I have the latest version of FusionWidgets.


The chart is rendered in the browser with an <object> tag like this:


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="80" id="Column3D" ><param name="movie" value="http://localhost/mysite/FlashCharts/v31/HLinearGauge.swf" /><param name="FlashVars" value="&dataURL=http://localhost/mysite/temp/F8FDA2CC-E90E-7688-7E58-BFBFDA1398D5.xml" /><param name="quality" value="high" /><param name="wmode" value="opaque" /><embed src="http://localhost/mysite/FlashCharts/v31/HLinearGauge.swf" flashVars="&dataURL=http://localhost/mysite/temp/F8FDA2CC-E90E-7688-7E58-BFBFDA1398D5.xml" wmode="opaque" quality="high" width="500" height="80" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now