问题
Any ideas? There is no setRadiusLabelsVisible(...)
or setLabelGenerator(null)
method which exists for at least some of the other charts. :)
回答1:
It looks like a PolarPlot has a radial Axis
, so
PolarPlot plot = (PolarPlot) chart.getPlot();
ValueAxis axis = plot.getAxis();
axis.setTickLabelsVisible(false);
来源:https://stackoverflow.com/questions/2429089/jfreechart-polarplot-remove-radius-labels