您好我想删除jfreechart的chartpanel的边框。以下是该图表面板
的图像如何删除边框的小空间?
请帮帮我。
提前致谢...
答案 0 :(得分:1)
您需要设置AxisOffset
CategoryPlot plot = (CategoryPlot) chart.getPlot();
plot.setAxisOffset(RectangleInsets.ZERO_INSETS);
答案 1 :(得分:0)
plot.setInsets(new RectangleInsets(0,0, 0, 0));
//for parameter
//North,west,south,East