Transparent background in PNG?

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

Transparent background in PNG?

Post by Fredrik » Tue Jan 28, 2003 11:14 pm

I would like to get a PNG image of a chart with transparent background, as that would be usefull when making webpages. I tried

chart.setBackgroundPaint(new Color(0,0,0,0));

but then I got a black background instead. Is it not possible to get a transparent background?

David Gilbert

Re: Transparent background in PNG?

Post by David Gilbert » Wed Jan 29, 2003 12:12 am

Hi Fredrik,

There have been several requests for this, but unfortunately I haven't had time to work out the solution. It is on my to-do list, but I'm sort of hoping that someone else will get to it before I do...

Regards,

Dave Gilbert

Locked