Resizing JFreeChart object

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Ming

Resizing JFreeChart object

Post by Ming » Thu Oct 19, 2000 4:48 am

Can anyone help?

I'm trying to convert a JFreeChart into a 240x204 PNG using the PNGEncode code posted earlier in this forum. The problem is that when I set the size to be that small, I shear off edges of the graph. Is there some way of retaining the contents entire graph while making it that size?

I tried converting JFreeChart into a 480x408 PNG and then scaling it by half but the quality was totally unacceptable. Couldn't make out the axes, numbers etc.

Or maybe there's another free graphing package I can use?

MW

Post Reply