xiaokui

saving images

Recommended Posts

Based on the xml provided by you. The size of the file should be 41.6KB. I have exported the file and got the image.

The image you have obtained seems to be incorrect.

Are you by any chance using Chinese or non-english characters in the chart?

Here is the image I obtained from your xml.

post-806-12844157251_thumb.jpg

Share this post


Link to post
Share on other sites

There is no problem with the fcexporter.jar. I have tested your xml with the exporter here. It exports fine.

Do you have the FCExporter.jsp and other Resources in the right path? Can you give me the folder structure of these files?

Which version of java are you using?

Which operating system?

Share this post


Link to post
Share on other sites

hi,

the folder structure :

webRoot/FCExporter.jsp

webRoot/Resources/FCExporter_IMG.jsp

webRoot/chartExport.jsp

webRoot/DownloadData.xml

webRoot/WEB-INF/lib/fcexporter.jar

webRoot/WEB-INF/Classes/fusioncharts_export.properties

Use jdk1.6 ,windows XP

Share this post


Link to post
Share on other sites

What is the RESOURCEPATH value specified in fusioncharts_export.properties?

Please verify that it has the value: /charts/Resources/

( It has to be relative to the Web Application Root )

Edited by Guest

Share this post


Link to post
Share on other sites

I have logging configured in my server using logging.properties file.

Some of the messages in my log file are as follows:

Jun 1, 2009 11:49:13 AM com.fusioncharts.exporter.generators.ImageGenerator getChartImage

INFO: Creating the Chart image

Jun 1, 2009 11:49:14 AM com.fusioncharts.exporter.generators.ImageGenerator getChartImage

INFO: Image created successfully

Please give me your log file or log messages, so we can try to get more information.

You could also try to "save" the chart instead of "download" and see what happens there.

Srividya

Share this post


Link to post
Share on other sites

The log message is just the same as you

2009-6-1 17:02:43 com.fusioncharts.exporter.generators.ImageGenerator getChartImage

INFO: Creating the Chart image

2009-6-1 17:02:46 com.fusioncharts.exporter.generators.ImageGenerator getChartImage

INFO: Image created successfully

Share this post


Link to post
Share on other sites

Your deployable application works fine here,  in both IE and Firefox, download and save.

When you are using 'save' option, please make sure that images folder is present in the webRoot.

This path is specified in fusioncharts_export.properties under SAVEPATH.

Can you turn the debugMode "on" and see what is going on? Change the following line:

var myChart = new FusionCharts("${pageContext.request.contextPath}/charts/fusionCharts/Column2D.swf", "myChartId", "600", "300", "1", "1");

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello :),

 

 

 

We are really excited to announce the release of FusionCharts for Flex v1.1 featuring the following:

 

 

 

- 12 new chart types: 7 new gauges including Angular gauge, LED gauge and Linear gauge, Spark chart and Bullet graphs have been added.

 

- All the gauges can fetch data in real-time and come with alert managers and message loggers.

 

- All the charts and gauges can now be natively exported as images and PDFs.

 

- The data for all the charts can be exported as CSV.

 

- Data sets can now have custom text labels instead of numeric values.

 

- The charts can handle a lot more events to help you manipulate them better.

 

- Trendlines can also have custom tool-text.

 

- Custom color palettes can be defined for the data plots.

 

 

 

Learn more about it from www.fusioncharts.com/flex. and learn what's new in FusionCharts for Flex from http://www.fusioncharts.com/flex/VersionHistory.asp.

 

 

 

Existing customers can upgrade to the new version from www.fusioncharts.com/PUC.

Share this post


Link to post
Share on other sites

PDF to GIF Converter is an ultimatec PDF to GIF converting tool for rendering PDF files. It can convert PDF files to most common image formats, such as JPEG, PNG, GIF, BMP, PCX, TGA, TIFF and so on. This PDF to GIF Converter can convert all the PDF files to any image formats with high quality, and very easy to use, only by a few clicks users can finish the PDF to GIF conversion.

 

pdf to gif converter

 

pdf to ppt converter

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