Chart Legends |
Background Paint | ||
The background of the Legend uses the java.awt.Paint Interface to control its appearance. There are several implementations of the java.awt.Paint Interface in the java.awt Package to choose from.
A value of NULL, which is the default, will make the Legend background transparent.
LegendProperties legendProperties= new LegendProperties(); legendProperties.setBackgroundPaint( Color.lightGray );