t2.setShadowPaint(new GradientPaint(7f, 1f, Color.BLUE, 4f, 6f,
Color.RED));
assertEquals(t1, t2);
//barPainter;
t1.setBarPainter(new GradientBarPainter());
assertFalse(t1.equals(t2));
t2.setBarPainter(new GradientBarPainter());
assertEquals(t1, t2);
//xyBarPainter;
t1.setXYBarPainter(new GradientXYBarPainter());
assertFalse(t1.equals(t2));