Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好我想删除 jfreechart 图表面板的边框。这是该图形面板的图像
如何删除该边框的小空间?
请帮我。
提前致谢...
您需要设置AxisOffset
AxisOffset
CategoryPlot plot = (CategoryPlot) chart.getPlot(); plot.setAxisOffset(RectangleInsets.ZERO_INSETS);
plot.setInsets(new RectangleInsets(0,0, 0, 0)); //for parameter //North,west,south,East