Jump to content


Server Side Exporting Fusion Charts To Pdf


  • Please log in to reply
13 replies to this topic

#1 neeraja

neeraja

    Forum Newbie

  • Members
  • 6 posts

Posted 21 July 2011 - 07:08 PM

Hi Experts,

I was trying to Export the rendered fusion chart reports to pdf but i am unable to do that i struck at configuring the export handlers. I am using FusionCharts_Evaluation for java and trying to configure following below steps..

1. Copied FCExporter.jsp file in web root folder
2.Export jars fcexporter.jar and fcexporthandler.jar in WEB-INF/lib and fusioncharts_export.properties in WEB-INF/classes folder.
3.Added exportEnabled=''1'' exportHandler=''/FusionCharts/FCExporter.jsp'' exportAtClient=''0'' exportAction=''save'' exportFileName=''MyFileName'' exportShowMenuItem=''1'' to the rendering xml
4.verified the version of column3D.swf and pie3D.swf those were 3.1.


I am able to render the chart successfully but i am not getting a progress bar saying capturing or nothing is happening that means i guess these handler classes are not called so nothing is happening please help me configuring i'm trying to configure this since 10 days.

I am attaching the required files please have a look and please help me ASAP.

Note: I am generating Column3D.xml dynamically using a procedure.

Thanks in Advance,
Neeraja Meka.

Attached Files



#2 srividya_sharma

srividya_sharma

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 943 posts

Posted 22 July 2011 - 07:12 AM

Hi Neeraja,

Thank you for posting the xml and html.

I took a look at the version of the swf and it seems to be latest. Also, I am getting a capturing window when I initiate export.

Can you please try the Export example present in Download Package > Code > J2EE > ExportExample once?

See if that works.

Most likely, it is an issue with either

1. the path to the export handler (exportHandler attribute)
or
2. version of flash player - please check this

Hope this helps :)
Srividya Sharma
regards,
Srividya Sharma

#3 neeraja

neeraja

    Forum Newbie

  • Members
  • 6 posts

Posted 26 July 2011 - 01:51 PM

Hi Srividya,

Thank you for the reply and i tried configuring like the sample application you provided in one of the posts but still am not able to see capturing box and also i guess no call is made to handler.

I do have small question, Do i need to place any button and on clicking that button only the generated report will be captured after generating the report ?? (For server side saving) .

Does it not save automatically when the report is rendered.

I am attaching my project structure and the needed files please have a look and path issues if any please let me know.

I am struggling with this since 15 - 20 days.

I am also attaching the application i referred to configure Export. (name FusionChartsExportApp)

Waiting forward for you reply !!

Thanks in Advance,
Neeraja Meka.

Attached Files


Edited by neeraja, 26 July 2011 - 01:52 PM.


#4 srividya_sharma

srividya_sharma

    Supreme Being

  • Members
  • PipPipPipPipPipPipPipPip
  • 943 posts

Posted 26 July 2011 - 02:11 PM

Hi Neeraja,

For server side export, you do not need a button click. It can be automatically exported after the chart renders.

Please incorporate automatic export after you achieve manual export.

I will take a look at the files you have attached and get back to you soon.

Srividya Sharma
regards,
Srividya Sharma

#5 Nilesh Attargekar

Nilesh Attargekar

    Forum Newbie

  • Members
  • 5 posts

Posted 20 April 2012 - 08:08 AM

Hi All....

I have some problem here...

When I am exporting Fusion chart to PDF, its showing perfect in the PDF. i.e. the size is correct.

But, when i tried to take printout of the PDF, the Fusion Chart is very small in the printed document or the .xps file.

Plz help me out....I have spent a lot of time into it...

#6 Swarnam

Swarnam

    Supreme Being

  • Moderators
  • 724 posts

Posted 20 April 2012 - 11:08 AM

Hey,

The PDFs rendered by FusionCharts Export Handler is 72 DPI in PDF.

The PDF viewer that you are using must have been set to a different Display Resolution (pixel/inch setting).

A higher value will show the chart bigger and blurred while a smaller value will reduce the chart size. Please set the Resolution to 72 to see the correct chart size.

Hope this helps.:)

#7 Nilesh Attargekar

Nilesh Attargekar

    Forum Newbie

  • Members
  • 5 posts

Posted 24 April 2012 - 07:30 AM

Attached File  Fusion_chart_Print.pdf   72.6K   301 downloadsHi Swarnam,

Thanks a lot for ur reply...

I tried with 72 DPI, and its showing two fusion charts on the printout. One vary small and other with proper size.

When i made DPI to 300 and took printout, it's showing one chart with correct size, but the numbers on the chart are very small and blurred.

I have Attached File  Fusion_chart_Print.pdf   72.6K   301 downloads attached the original PDF.

plz guide.....



Nilesh Attargekar.

#8 Sumedh

Sumedh

    Supreme Being

  • Administrators
  • 1946 posts
  • LocationBangalore

Posted 24 April 2012 - 11:01 AM

Attached File  Fusion_chart_Print.pdf   72.6K   301 downloadsHi Swarnam,

Thanks a lot for ur reply...

I tried with 72 DPI, and its showing two fusion charts on the printout. One vary small and other with proper size.

When i made DPI to 300 and took printout, it's showing one chart with correct size, but the numbers on the chart are very small and blurred.

I have Attached File  Fusion_chart_Print.pdf   72.6K   301 downloads attached the original PDF.

plz guide.....



Nilesh Attargekar.




Hi Nilesh,

Can you please elaborate your procedure of exporting the charts into PDF?
Thanks,
Sumedh

Follow us @Twitter!

#9 Nilesh Attargekar

Nilesh Attargekar

    Forum Newbie

  • Members
  • 5 posts

Posted 18 June 2012 - 07:35 AM

Hi Sumedh,

Actually, I have created Fusion chart in Jasper iReport and published it on Jasper Server.

JasperServer has an option to export Fusion report into PDF.

I could successfully export fusion chart on PDF.

But, when i am trying to print that PDF containing fusion chart, it doesn't get printed in full size.

Plz suggest.



#10 Sumedh

Sumedh

    Supreme Being

  • Administrators
  • 1946 posts
  • LocationBangalore

Posted 18 June 2012 - 08:50 AM

Hi Sumedh,

Actually, I have created Fusion chart in Jasper iReport and published it on Jasper Server.

JasperServer has an option to export Fusion report into PDF.

I could successfully export fusion chart on PDF.

But, when i am trying to print that PDF containing fusion chart, it doesn't get printed in full size.

Plz suggest.




Hi,

Can you send us the screen-shot of your issue?


Thanks,
Sumedh

Follow us @Twitter!

#11 terryw

terryw

    Forum Newbie

  • Members
  • 1 posts

Posted 13 August 2012 - 10:36 PM

Hi,

Can you send us the screen-shot of your issue?



Hi, I have the same issue, does anyone know if it was resolved, and what the conclusion was.

regards

#12 Sumedh

Sumedh

    Supreme Being

  • Administrators
  • 1946 posts
  • LocationBangalore

Posted 24 August 2012 - 11:31 AM

Hey,

Can you explain how you are trying to export charts using Jasper iReport?

Also send us the screen-shot.
Thanks,
Sumedh

Follow us @Twitter!

#13 Nicholas

Nicholas

    Forum Newbie

  • Members
  • 1 posts

Posted 28 August 2012 - 03:56 AM

Hey,

Can you explain how you are trying to export charts using Jasper iReport?

Also send us the screen-shot.


I have same issue when printing PDF that export by JasperServer, below is my steps that use Fusion Maps and Fusion Charts.



Step1: Create report using Fusion Maps and Fusion Charts in Jasper iReport.

Step2: Upload the report file to JasperServer and execute the report.

Step3: Export the report as PDF (Refer to 001.jpg).

Step4: Open the exported PDF with ‘Adobe Reader X’ and set resolution to 72 DPI (Refer to002.jpg).

Step5: Print the PDF file by ‘Microsoft XPS Document Writer’ (Refer to 003.jpg).

Step6: Open the printed xps file by ‘XPS Viewer’ (Refer to 004.jpg).



The map and chart size is smaller than it in the PDF file, any advice about it?




Best regards,

Attached Files


Edited by Nicholas, 28 August 2012 - 03:59 AM.


#14 stivaugoin

stivaugoin

    Forum Newbie

  • Members
  • 1 posts

Posted 02 November 2012 - 07:30 PM

I have same problem!