A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Sourcemaker
- Posts: 15
- Joined: Thu Jun 24, 2004 3:01 pm
Post
by Sourcemaker » Sun Jul 16, 2006 1:58 pm
Hi Guys,
is there any documentation available,
how I can improve the performance of JFreeChart ?
For example, the image encoder takes a lot of time for
rendering / encoding the charts into png images.
Is there any way out ?
Thanks
Sourcemaker
-
pmarsollier
- Posts: 49
- Joined: Thu Jul 08, 2004 8:54 am
- Location: France
Post
by pmarsollier » Mon Jul 17, 2006 9:51 am
slow with JDK 1.3 but
with 1.4, it uses the JDK's ImageIO, so it's the best you can do.
the larger your image is, the longer it takes.
generating 1024*768 images takes far less than a seconds.
rendering it on a browser takes more time.