t2.setSubtitlePaint(new GradientPaint(1f, 2f, Color.RED, 3f, 4f,
Color.BLUE));
assertEquals(t1, t2);
//chartBackgroundPaint;
t1.setChartBackgroundPainter(new ColorPainter(Color.RED));
assertFalse(t1.equals(t2));
t2.setChartBackgroundPainter(new ColorPainter(Color.RED));
assertEquals(t1, t2);
//legendBackgroundPaint;
t1.setLegendBackgroundPaint(new GradientPaint(3f, 4f, Color.gray,
1f, 2f, Color.RED));
assertFalse(t1.equals(t2));
t2.setLegendBackgroundPaint(new GradientPaint(3f, 4f, Color.gray,
1f, 2f, Color.RED));
assertEquals(t1, t2);
//legendItemPaint;
t1.setLegendItemPaint(new GradientPaint(9f, 8f, Color.RED, 7f, 6f,
Color.BLUE));
assertFalse(t1.equals(t2));
t2.setLegendItemPaint(new GradientPaint(9f, 8f, Color.RED, 7f, 6f,
Color.BLUE));
assertEquals(t1, t2);
//drawingSupplier;
t1.setDrawingSupplier(new DefaultDrawingSupplier(
new Paint[] {Color.RED},
new Paint[] {Color.BLUE},
new Stroke[] {new BasicStroke(1.0f)},
new Stroke[] {new BasicStroke(1.0f)},
new Shape[] {new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0)}));
assertFalse(t1.equals(t2));
t2.setDrawingSupplier(new DefaultDrawingSupplier(
new Paint[] {Color.RED},
new Paint[] {Color.BLUE},
new Stroke[] {new BasicStroke(1.0f)},
new Stroke[] {new BasicStroke(1.0f)},
new Shape[] {new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0)}));
assertEquals(t1, t2);
//plotBackgroundPainter;
t1.setPlotBackgroundPainter(new ColorPainter(Color.RED));
assertFalse(t1.equals(t2));
t2.setPlotBackgroundPainter(new ColorPainter(Color.RED));
assertEquals(t1, t2);
//plotOutlinePaint;
t1.setPlotBorderPainter(new BorderPainter(Color.RED,
new BasicStroke(1.0f)));