How to use images in place of bars of bar chart in Jfreechar

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Raheela
Posts: 1
Joined: Fri Jul 28, 2006 11:29 am

How to use images in place of bars of bar chart in Jfreechar

Post by Raheela » Fri Jul 28, 2006 11:38 am

Hi All,
I am creating a bar chart in JFreechart. I want to use my own images in place of bars colours. I want that bars of bar chart should be constructed by my images.

Any help can be appreciated. Thanks in advance

Taqua
JFreeReport Project Leader
Posts: 698
Joined: Fri Mar 14, 2003 3:34 pm
Contact:

Post by Taqua » Fri Jul 28, 2006 3:57 pm

A report is a report is a report. Charts and reports may be seen together on the same paper sometimes, but charts and reports are definitily something totally different.

I've moved your posting to JFreeChart's forum.

caa
Posts: 21
Joined: Mon Feb 14, 2005 11:28 pm

Post by caa » Sat Jul 29, 2006 1:05 am

I would think you should be able to make a TexturePaint that draws your image then setSeriesPaint with it. (or setSeriesFillPaint)
Charles Anderson

pin2
Posts: 2
Joined: Fri Mar 02, 2007 11:42 pm

Post by pin2 » Sat Mar 03, 2007 12:20 am

Anderson:

Would you be willing to post an example?

We are new to JFree and we do not have clear how to do the change you are suggesting

Thanks,

Pin2
[quote="caa"]I would think you should be able to make a TexturePaint that draws your image then setSeriesPaint with it. (or setSeriesFillPaint)[/quote]

Locked