开发者

jfreechart: set Item Shape position

开发者 https://www.devze.com 2023-01-10 13:46 出处:网络
I use setSeriesShape(seriesindex, new Rectangle(5,5)) to draw itemshapes. 开发者_JS百科But somehow they end up not being centered.

I use setSeriesShape(seriesindex, new Rectangle(5,5)) to draw itemshapes. 开发者_JS百科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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消