legendProperties.setPlacement( (int) TestDataGenerator.getRandomNumber( 4 ) );
fontSize=(int) TestDataGenerator.getRandomNumber( 6, 20 );
font=ALL_FONTS[ (int) TestDataGenerator.getRandomNumber( ALL_FONTS.length ) ];
font=font.deriveFont( (float) fontSize );
legendProperties.setChartFont( new ChartFont( font, TestDataGenerator.getRandomPaint() ) );
//---random between null and having a color.
if( (int) TestDataGenerator.getRandomNumber( 2 ) == 0 )
{