tzippy
tzippy

Reputation: 6638

jfreechart: set Item Shape position

I use setSeriesShape(seriesindex, new Rectangle(5,5)) to draw itemshapes. But somehow they end up not being centered. Is there a method to set position?

alt text http://dl.dropbox.com/u/1144075/Bildschirmfoto%202010-08-05%20um%2011.36.45.JPG

Upvotes: 1

Views: 926

Answers (1)

Catalina Island
Catalina Island

Reputation: 7126

Try new Rectangle(-2, -2, 5, 5).

Upvotes: 1

Related Questions