Search found 18 matches

by lia
Sat Nov 25, 2006 12:43 am
Forum: JFreeChart
Topic: setting backgroundImage in a Struts application
Replies: 1
Views: 2408

setting backgroundImage in a Struts application

I am trying to use an image for my chart background. I am able to get the JFreeChart.INFO.getLogo() to display, however the following code produces no image, the output says the image is NOT null and the height is -1. Does anyone know how to get a web application to do this?? ImageIcon imageIcon = n...
by lia
Sat Oct 14, 2006 5:51 am
Forum: JFreeChart
Topic: outputstream image not updating
Replies: 2
Views: 2353

I think the problem may be that I am saving the chart as a session attribute rather than a request attribute. I set the chart attribute to null but I don't think that that is enough. Maybe it's a out buffer problem?? Any ideas?
by lia
Sat Oct 14, 2006 5:25 am
Forum: JFreeChart
Topic: outputstream image not updating
Replies: 2
Views: 2353

outputstream image not updating

I have created a servlet to write my charts out to the outputstream. I have copied the model in the demo, where I save my chart as a session attribute and write it out using ChartUtilities.writeChartAsPNG. When I have a simple chart with just one series in the TimeSeriesCollection my image updates w...