Hello,
I want to change size of the legend items bullet (Filled Rectangle Shape) in legend....
I changed font size of legend items but not able to change size of legend item bullet...
Can anyone tell me how to do that???
Legend Title Problem
-
- Posts: 14
- Joined: Wed Sep 12, 2007 7:05 pm
Code: Select all
XYItemRenderer shapeRenderer = plot.getRenderer();
shapeRenderer.setShape(new Rectangle(-3,-3,20,20));
if u're working with XYSeries which have many lines, you can play with:
renderer.setSeriesShape(numberOfTheSerie, yourShape)
Hello,
Thanks for your answer but I'm working with CategoryItemRenderer and none of the following methods seems to update the legend item bullets:
Perhaps have you another idea?? 
Thanks
Thanks for your answer but I'm working with CategoryItemRenderer and none of the following methods seems to update the legend item bullets:
Code: Select all
renderer.setShape(new Rectangle(200,200));
renderer.setSeriesShape(0, new Rectangle(200,200));
renderer.setBaseShape(new Rectangle(200,200));

Thanks