changing the chart background

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Zanton
Posts: 9
Joined: Thu Jul 13, 2006 1:14 pm

changing the chart background

Post by Zanton » Wed Aug 23, 2006 12:55 pm

I'd like to put a picture in the background of the chart instead the default white one. Is it possible ?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Aug 23, 2006 2:44 pm

You can use the setBackgroundImage() method in the JFreeChart class (or the Plot class, depending on your requirement).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked