Is there a way to hide a JFreeChart XYSeries yaxis? The yaxis is meaningless on logic analyzer display.
+2
A:
You can use setVisible()
, as shown below.
XYPlot plot = (XYPlot) chart.getPlot();
ValueAxis range = plot.getRangeAxis();
range.setVisible(false);
trashgod
2010-10-20 00:32:52