Krysalis jCharts
  Font size:      

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 ), );
LegendProperties legendProperties= new LegendProperties();
legendProperties.setBorderStroke( borderStroke );
Legend Border Paint

Valid HTML 4.01!Valid CSS!