Sign in to follow this  
Nidhi

Server Side Export Problem

Recommended Posts

Hello,

 

I tries to export fusion chart from server as jpg for Column2D.swf and its working well.

 

Its XML is as given :

 

 

<chart yAxisName='Sales Figure' caption='Top 5 Sales Person' numberPrefix='$' useRoundEdges='1' bgColor='FFFFFF,FFFFFF' showBorder='0' exportEnabled='1' exportAtClient='0' showExportDialog='0' exportfilename='Test' exportAction='save' exportHandler='http://localhost/oilgasweb/FCExporter.aspx'>

<set label='Alex' value='25000' />

<set label='Mark' value='35000' />

<set label='David' value='42300' />

<set label='Graham' value='35300' />

<set label='John' value='31300' />

</chart>

 

But when I try with MSCombiDY2D.swf file and xml like :

 

 

<chart palette='2' numDivLines='9'

showValues='0' divLineDecimalPrecision='1' limitsDecimalPrecision='1' PYAxisName='Total BOE' SYAxisName='Production For Period' numberPrefix='$' formatNumberScale='0' exportEnabled='1' exportAtClient='0' showExportDialog='0' exportfilename='WellAnalysis' exportAction='save' exportHandler='http://localhost/oilgasweb/FCExporter.aspx'><categories verticalLineColor='666666' verticalLineThickness='1'>

<category showLabel='0' label='28'/>

<category showLabel='0' label='57'/>

<category showLabel='0' label='84'/><category showLabel='0' label='107'/><category label='138'/><category showLabel='0' label='168'/><category showLabel='0' label='196'/></categories><dataset seriesName='Total BOE' renderAs='Line' color='#E066FF' lineThickness='4' parentYAxis='P' anchorRadius='3' anchorBgColor='#E066FF' renderAs='line' lineDashLen='0' lineDashGap='4' dashed='1'><set value='36891' /><set value='58772' /><set value='72960' /><set value='84635' /><set value='97288' /><set value='106479' /><set value='113442' /></dataset><dataSet parentYAxis='S' anchorSides='4' anchorRadius='4' anchorBgColor='#800517' renderAs='line' lineDashLen='0' lineDashGap='4' dashed='1' seriesName='Production For Period' color='#800517'><set value='' /><set value='755' /><set value='525' /><set value='508' /><set value='408' /><set value='306' /><set value='249' /></dataSet></chart>

 

 

It does not work.

 

Please help me for this problem.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi :)

 

I am afraid, I could not replicate the same.

 

It's working fine at our end. Please try to set following attributes for exporting at server-side, under the chart element.

exportEnabled='1'

exportHandler='FCExporter file path'

exportAtClient='0'

exportAction='save'

 

Ref. Code:

<chart ... exportEnabled='1' exportHandler='FCExporter file path' exportAtClient='0' exportAction='save'>

 

For more information, please refer the following URL:

http://docs.fusioncharts.com/charts/contents/?exporting-image/server-side/ECServerDownload.html

 

Please find attached screenshots for your reference with this post.

 

Hope this helps.:)

post-24802-0-02032600-1328599462_thumb.jpg

post-24802-0-28748200-1328599473_thumb.jpg

Share this post


Link to post
Share on other sites

Hello,

 

Thanks for replying.

 

Can you please send me the xml file you are using for line chart that is working with MSCombiDY2D.swf

Hi :)

 

I am afraid, I could not replicate the same.

 

It's working fine at our end. Please try to set following attributes for exporting at server-side, under the chart element.

exportEnabled='1'

exportHandler='FCExporter file path'

exportAtClient='0'

exportAction='save'

 

Ref. Code:

<chart ... exportEnabled='1' exportHandler='FCExporter file path' exportAtClient='0' exportAction='save'>

 

For more information, please refer the following URL:

http://docs.fusionch...erDownload.html

 

Please find attached screenshots for your reference with this post.

 

Hope this helps.:)

Share this post


Link to post
Share on other sites

Hello,

 

Thanks for the help but still it is not working here.

 

Can you please try with this swf file ,if it does not work there that means there is some problem in it.

Hi :)

 

Apologies for the inconvenience.

 

Please find the attached XML file for MSCombiDY2D chart with this reply.

 

Hope this helps. :)

MSCombiDY2D.zip

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi :)

 

Please note that, you would need to set the proper path of FCExporter file in the exportHandler attribute.(according to the location of files) under the chart element.

 

Also, you would need to set the path in FCExporter file. for ex: if you are using FCExporter.php, you would need to set path in the define("SAVE PATH,"./") function as well as in define ( "HTTP_URI", "Your FCExporter file location" );

 

Please find attached screenshot for your reference with this reply.

 

Hope this helps. :)

post-24802-0-72912100-1328612521_thumb.jpg

Edited by Sumedh

Share this post


Link to post
Share on other sites

Can you please send me your MSCombiDY2D.swf.

 

I think there is some problem in this file,if your file working at my end that means problem is in this swf file.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi :)

 

Could you please download the latest version of FusionCharts i.e. FusionCharts XT Service Release 2.

 

After downloading the latest version, use MSCombiDY2D.swf. with new ExportHandlers in the Download Package folder.

 

Please refer the following URL for download:

http://www.fusioncha...ownload/trials/

 

Hope this helps. :)

Edited by Sumedh

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
Sign in to follow this