server side rendering

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mina.

server side rendering

Post by mina. » Wed Dec 04, 2002 5:59 pm

Hi,

I am developing a tool that generates emails which have some embedded images of graphs being generated by JFreeChart. The program I have written should be completely automated, and run under a unix Cron job. However, I am having some problems getting this to work and would appreciate some help...

I save the images to a PNG file (using ChartUtilities.saveChartasPNG), and store them on a server. It seems like these graphs are being rendered to the screen, and then saved to the file. Since I want to run this on a server without any associated display, I can't generate graph images. How can I have server side rendering, i.e. rendering on a machine that has no associated display?

Thanks,
mina.

Dave Gilbert

Re: server side rendering

Post by Dave Gilbert » Wed Dec 04, 2002 6:02 pm

This link has some info:

http://www.object-refinery.com/phorum-3 ... 987&t=2987

Regards,

DG

Locked