FusionCharts Support

Export Handler For Classic Asp (With Limited Pdf Export Feature)

Recommended Posts

Hi all,

 

 

I have developed a FusionCharts Export Handler for Classic ASP.

 

If any one requires it, can download, modify if required and use it from here.

ExportHandlers_ClassicASP.zip

 

 

Before you start using the Classic ASP Export Handler you need to follow these:

 

1. Install/Register GDLibrary.dll and bgd.dll (run Install.bat keeping the 2 DLL files in the same folder to achieve this)

 

2. Make sure you have the following Libraries accessible by Classic ASP

a) ADODB.Stream class - to create binary image files

b ) Scripting.FileSystemObject - class to read file status and create PDF file

c) Scriptlet.TypeLib class - to generate GUID

d) Scripting.Dictionary class - for data storage

 

3. You may need to configure IIS to increase the POST/Request data limit if Export Handler is telling "Insufficient data"

 

 

ACKNOWLEDGEMENT: The DLLs stated above are from http://www.codeproject.com/Articles/10422/GD-library-wrapper. Thank to Dade Murphy!

Share this post


Link to post
Share on other sites

Hi

Could you please provide an example how to use (call) this feature from an asp file?

 

 

Hi all,

 

 

I have developed a FusionCharts Export Handler for Classic ASP.

 

If any one requires it, can download, modify if required and use it from here.

ExportHandlers_ClassicASP.zip

 

 

Before you start using the Classic ASP Export Handler you need to follow these:

 

1. Install/Register GDLibrary.dll and bgd.dll (run Install.bat keeping the 2 DLL files in the same folder to achieve this)

 

2. Make sure you have the following Libraries accessible by Classic ASP

a) ADODB.Stream class - to create binary image files

b ) Scripting.FileSystemObject - class to read file status and create PDF file

c) Scriptlet.TypeLib class - to generate GUID

d) Scripting.Dictionary class - for data storage

 

3. You may need to configure IIS to increase the POST/Request data limit if Export Handler is telling "Insufficient data"

 

 

ACKNOWLEDGEMENT: The DLLs stated above are from http://www.codeproje...ibrary-wrapper. Thank to Dade Murphy!

Share this post


Link to post
Share on other sites

Hi,

 

You need to specify the path to the FCExporter.asp through exportHandler attribute in the XML of the chart.

 

An example :

 

exportEnabled='1' exportHandler='FCExporter.asp' exportAtClient='0'

 

Rest of the process is same as any server side export handler.

 

For more, please read: http://docs.fusioncharts.com/charts/?exporting-image/server-side/ECServerOverview.html

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