Chart Legends | ![]() |
Border Paint | ||
The border of the Legend uses the java.awt.Paint Interface to control its appearance. A value of NULL will draw the Legend with no borders. There are several implementations of the java.awt.Paint Interface in the java.awt Package to choose from.
ChartStroke borderStroke= new ChartStroke( new BasicStroke( 2.0f ), Color.blue ); LegendProperties legendProperties= new LegendProperties(); legendProperties.setBorderStroke( borderStroke );
