[b]1.前言。[/b]
标尺栏和坐标轴的刻度如果有两条,非常难看,如何去掉呢?直接调用setAxisOffset方法即可。
[b]2.例子。[/b]
CategoryPlot plot = chart.getCategoryPlot();
plot.setAxisOffset(new RectangleInsets(0, 0, 0, 0));
[b]3.具体的jfreechart的API,请看我的一篇转载.[/b]
http://nannan408.iteye.com/blog/1942643 .
标尺栏和坐标轴的刻度如果有两条,非常难看,如何去掉呢?直接调用setAxisOffset方法即可。
[b]2.例子。[/b]
CategoryPlot plot = chart.getCategoryPlot();
plot.setAxisOffset(new RectangleInsets(0, 0, 0, 0));
[b]3.具体的jfreechart的API,请看我的一篇转载.[/b]
http://nannan408.iteye.com/blog/1942643 .