SHRIA

Save Fusion Chart As Jpeg Image

Recommended Posts

Hi I am new to fusion chart, when i right click my fusion chart save as JPEG image is coming, but when i click on that, it is not asing for specific location. Just capturing data process alone is happening. Can anyone plz help on this??

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Shria,

 

Are trying to implement Client side export or Server-side export?

 

If you are trying to implement Server-side export, what technology are you using?

Share this post


Link to post
Share on other sites

Hi Sumedh,

 

To be frank i dont have clear idea about waht is client side export and server side export.

 

Here is my code..which i have taken from codebehind file in asp.net

<chart shownames='1' showvalues='0' showSum='0' decimals='0' caption='" + tickets + "' exportEnabled='1' exportAtClient='1' exportHandler='fcBatchExporter' exportFileName='Operational Review Report' outCnvBaseFontSize='9' formatNumberScale='0' useRoundEdges='1' legendBorderAlpha='0' xAxisName='Application' yAxisName='Tickets Count' plotSpacePercent ='30' enableSmartLabels='1' enableRotation='0'>");

 

Hi Shria,

 

Are trying to implement Client side export or Server-side export?

 

If you are trying to implement Server-side export, what technology are you using?

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Shria,

 

From the above mentioned code, it seems you are trying to implement client-side export.

 

In FusionCharts XT, you could export your charts as images, PDFs, and also choose whether to export at client-side or server-side.

 

Export at client side:

For enabling export of chart at client-side, we'll need to assemble the following elements:

1. The chart itself embedded using FusionCharts JavaScript class (FusionCharts.js). Here, we assume that you have been able to generate the chart for your page. If not, please refer to the relevant section of our documentation.

2. FusionCharts Export Component - This is named FCExporter.swf and is present in Download Package > Charts. You'll need to copy-paste this SWF to your server. A good location would be to place this SWF along with your chart SWFs.

3. FusionCharts Export Component JavaScript class - This JavaScript class is named FusionChartsExportComponent.js and is present in Download Package > Charts folder. Place it where you've placed FusionCharts.js on your website (though not necessary, but this helps you centralize all FusionCharts related JS files)

 

For more details on 'Exporting Charts as PDF or Images > Client-side export > Simple Example', please refer to the link below,

http://docs.fusionch...ientSimple.html

 

Hope this helps !

Share this post


Link to post
Share on other sites

Hi Sumedh,

 

Where does Download Package is present.. I am searching for Download package link..but i dont get it... :(

 

Hi Shria,

 

From the above mentioned code, it seems you are trying to implement client-side export.

 

In FusionCharts XT, you could export your charts as images, PDFs, and also choose whether to export at client-side or server-side.

 

Export at client side:

For enabling export of chart at client-side, we'll need to assemble the following elements:

1. The chart itself embedded using FusionCharts JavaScript class (FusionCharts.js). Here, we assume that you have been able to generate the chart for your page. If not, please refer to the relevant section of our documentation.

2. FusionCharts Export Component - This is named FCExporter.swf and is present in Download Package > Charts. You'll need to copy-paste this SWF to your server. A good location would be to place this SWF along with your chart SWFs.

3. FusionCharts Export Component JavaScript class - This JavaScript class is named FusionChartsExportComponent.js and is present in Download Package > Charts folder. Place it where you've placed FusionCharts.js on your website (though not necessary, but this helps you centralize all FusionCharts related JS files)

 

For more details on 'Exporting Charts as PDF or Images > Client-side export > Simple Example', please refer to the link below,

http://docs.fusionch...ientSimple.html

 

Hope this helps !

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Download package means the entire FusionCharts pack folder which you have downloaded.

 

Inside this folder, you can get all the JavaScript files, SWF files and other files.

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