Wednesday, May 15, 2013

Jfreechart - Change Shape Point

Diamon/Cross/Triangle Shape
renderer.setSeriesShape(seriesIndex,ShapeUtilities.createDiamond(5));
renderer.setSeriesShape(seriesIndex,ShapeUtilities.createDiagonalCross(5,5));
....

Circle
Shape circle  = new Ellipse2D.Double(-2,-2,5,5);
renderer.setSeriesShape(seriesIndex,circle);

0 comments:

Post a Comment