JFree Chart Pop-Up !! Help

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sumaya.baig
Posts: 12
Joined: Tue Nov 07, 2006 6:53 am
Contact:

JFree Chart Pop-Up !! Help

Post by sumaya.baig » Fri Nov 10, 2006 7:00 am

Hi , i have a jsp which runs on a remote server. Now, whenever i call the jfree chart, it pops up on the server instead of the local machine ! Help !

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 » Fri Nov 10, 2006 10:22 am

You are probably using Swing components like ChartPanel and ApplicationFrame to display your charts. That won't work in a web application, obviously.
David Gilbert
JFreeChart Project Leader

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

sumaya.baig
Posts: 12
Joined: Tue Nov 07, 2006 6:53 am
Contact:

Post by sumaya.baig » Fri Nov 10, 2006 2:20 pm

.... yea ... have to export the chart as an image , then capture it in a response object and direct it to a new jsp ... got it from ur previous post on this forum .. thanx !

Locked