Print preview problem in JSF Chart creator

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
subash_ks
Posts: 10
Joined: Thu Aug 21, 2008 9:38 am

Print preview problem in JSF Chart creator

Post by subash_ks » Tue Sep 02, 2008 1:34 pm

Hi,
We are using JSF chart creator.The web application provided with JSF chart creator working fine and its print preview is showing in IE .While integrating same file with our application graph showing properly but print preview in IE is not showing.Please help me.Its very urgent.I Have already posted one topic.But I did n't get a suitable solution till now.I am expecting a positive reply from jfree chart forum.

With Regards,

Subash

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Sep 02, 2008 1:43 pm

I don't know the answer. But you should definitely try a different browser, then you'll know if Internet Explorer is the problem...which will help narrow down the potential solutions.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

subash_ks
Posts: 10
Joined: Thu Aug 21, 2008 9:38 am

Post by subash_ks » Tue Sep 02, 2008 2:00 pm

Yes I have tried a different browser.In Firefox and Netscape its working fine.The example that provided with JSF chart creator also working fine in IE.I don 't know why its not working with my application.I have tried a lot of different options but still no result.I have posted my query in cagatay civici web blog also but no reply.


With Thanks and Regards,
Subash

jleech
Posts: 62
Joined: Fri Oct 26, 2007 9:18 pm

Post by jleech » Mon Sep 08, 2008 10:30 pm

Are the charts images that are loaded in the browser via a GET or POST? Internet Explorer will never cache a POST... e.g POST a form to an iframe to hold the graph. Setting the correct headers for a GET will enable IE to cache the image.. The Expires header will do the trick, make sure if you cache, that there is enough unique to the URL so the image doesn't show up again somewhere it shouldn't.

Locked