Are there anywhere a simple example on how to generate an XY-chart and save this in a JPEG-file?
I can't find any example anywhere. I got the jfreechart-0.9.8-demo.jar to run fine but I do not know how to write my own JPEG file generator..

I'm able to get the data from the database, so my "only" problem is how to generate the XY-chart and to store this in a JPEG..
Hope someone can help me with an example...
Regards Jan Andersen