答案 0 :(得分:1)
如here所示,通常使用径向PolarPlot
创建Axis
。默认情况下,轴上的刻度标签是可见的,ChartFactory.createPolarChart()
将其禁用:
rangeAxis.setTickMarksVisible(false);
如果您是使用工厂创建的图表,只需启用刻度线即可:
PolarPlot plot = (PolarPlot) chart.getPlot();
ValueAxis axis = plot.getAxis();
axis.setTickLabelsVisible(true);
或者,您自己创建图,如here所示,并启用刻度标签:
ValueAxis radiusAxis = new NumberAxis();
…
PolarPlot plot = new PolarPlot(dataset, radiusAxis, renderer);