In JFreeChart XYSplineRenderer
Graph I need to display small dots instead of small squares to display XY coordinates. How can I change the shape of these dots?
使对称居中Shape
在给定的数据点上,您需要将左上角偏移半径(直径的一半)。对于较小的点,
setSeriesShape(0, new Ellipse2D.Double(-3, -3, 6, 6));
另请参阅此相关example https://stackoverflow.com/a/6669529/230513 using ShapeUtilities
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)