Buffered Image

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ptd26
Posts: 27
Joined: Sun Nov 08, 2009 10:12 am
antibot: No, of course not.

Buffered Image

Post by ptd26 » Mon Jul 26, 2010 10:20 am

Can someone tell me how to use JFreeChart to render onto a BufferedImage? I want to render several charts in parallel.

remiohead
Posts: 201
Joined: Fri Oct 02, 2009 3:53 pm
antibot: No, of course not.

Re: Buffered Image

Post by remiohead » Mon Jul 26, 2010 2:11 pm

Look at one of the createBufferedImage methods in org.jfree.chart.JFreeChart.

ptd26
Posts: 27
Joined: Sun Nov 08, 2009 10:12 am
antibot: No, of course not.

Re: Buffered Image

Post by ptd26 » Tue Jul 27, 2010 7:41 am

What I really wanted to do was render 4 charts in parallel on separate threads. I thought I could render each of them separately and then simply add them to my window. However, doing that would disable the interactive charting features such as cursor and range zoom, correct? Can someone tell me the easiest way to allow JFreeChart to render multiple charts in parallel on separate threads?

Locked