tancs

Export to jpeg not function well.

Recommended Posts

Dear administrator:

 

 

 

thanks for powerful chart. It was helping a lot to us.

 

 

 

 

 

but i having some problems with exporting the chart to jpeg.

 

 

 

Here my xml:

 

 

chart caption='Issuing Statistics' yAxisMaxValue= '100' showFCMenuItem='0' numberSuffix='%' formatNumberScale='2' yAxisMinValue= '-5'  formatNumber='1' decimalPrecision='1' showNames='1' showValues='1' rotateNames='0' showColumnShadow='1' animation='1' showAlternateHGridColor='1' AlternateHGridColor='BBE2FF' divLineColor='BBE3FF' divLineAlpha='20' alternateHGridAlpha='5' outCnvBaseFontSze='18' outCnvBaseFont='arial' baseFontColor='000000' baseFontSize='12' outCnvBaseFontColor='000000' canvasBorderThickness='0' canvasBgAlpha='5' canvasBorderColor='000000'  chartRightMargin='30'  yaxisname='Percentage' xaxisname='Month/Year' bgcolor = 'BBE2FF, BBE3FF' exportDialogColor='e1f5ff' exportDialogBorderColor='0372ab' exportDialogFontColor='0372ab' exportDialogPBColor='0372ab' exportEnabled='1' exportHandler='ExportHandlers/PHP/FCExporter.php' exportAtClient='0' exportAction='download' exportFileName='Issuing Statistics - 365 Days Calendar (PS Date + Shipped Date)'  exportFormats='JPEG=Save the Chart'>
......................

 

 

 

 

the xml if workable, display nice chart......all function for the chart workable except for exporting the chart.

 

 

 

 

 

 

 

when i try export, it workable, but it return me with a bmp file instead of jpeg file i specify in the "exportFormarts".

 

 

 

 

 

any one know where the problems is?

 

 

 

thanks a lot.

 

 

 

chusoon

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 

 

 

Could you please attach your XML and HTML codes so that we can test on it?

 

 

 

Also, please specify which version of FusionCharts you are using.

 

 

 

Awaiting your reply.

Share this post


Link to post
Share on other sites

HI Mad.

 

 

 

sorry for late replay....i was using the the test package.....

 

 

 

some time it was able to return with jpg/gif..but some time not (returm bmp)...

 

 

 

would it be the server problems.

 

 

 

i have attached the package.

 

 

 

thanks

 

 

 

chusoon

Share this post


Link to post
Share on other sites

it was successful capture the chart but return as BMP file instead of jpg which i specify at xml file.

 

 

 

can you help to figure which part i am doing wrong?

 

 

 

 

 

thanks

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Chusoon,

Thanks for your reply.

FusionCharts supports exporting of the chart to JPG/PNG/PDF format.

As you have stated that, at times your chart is getting exported as BMP format inspite of specifying the "exportFormats" attribute as "JPG", could you please send us the sample file where your chart is getting exported as BMP format?

Awaiting your reply so that we might test the sample in our lab.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Can you please make sure that you are using a Server running PHP to which you are exporting the chart?

It seems that there is some problem with the export handler file, as it was supposed to show as per the attached images:

bc269add-5bf1-4bae-a322-5410.jpg

6e39eb10-5ae2-4518-8462-604d.jpg

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Can you please make sure that you are using a Server running PHP to which you are exporting the chart?

It seems that there is some problem with the export handler file, as it was supposed to show as per the attached images:

Please note the file extension and type: .jpg and not _php, JPEG Image and not HTML Document.

4ed6ed10-8195-45f1-b581-421e.jpg

85379ed7-7cba-480f-84f6-0a5e.jpg

Share this post


Link to post
Share on other sites

hi Basundhara Ghosal:

 

 

 

yes........it was happen only first time. it return a bmp file type......

 

 

 

after i try to save a again. it was return as your print screens.......

 

 

 

i was using IE 8, RHEL3, PHP4 with GD configured......any clued may cause this problems?

 

 

 

and i do not know why it return file extension _php, and HTML Document. but if i open it, it will show bmp file but i not able direct save it

 

 

 

thanks

 

 

 

 

 

chusoon

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