jfreechart如何取得横坐标轴对象,谢谢
XYPlot plot = (XYPlot) ((JFreeChart) chart).getXYPlot();
// 设置横轴上的时间刻度的显示格式
NumberAxis domainAxis = (NumberAxis)plot.getRangeAxis();
domainAxis.setLowerBound(50);
domainAxis.setUpperBound(150);
jfreechart中我想控制横坐标轴的范围,结果他老是得到是纵坐标轴,请问我如何得到横坐标轴对象,谢谢