您可以使用
ValueAxis类的setLowerBound()方法指定Y轴的底部值。
使用您的示例:
JFreeChart chart;chart = ChartFactory.createXYAreaChart("Profile View Of Contour", "Distance", "Contour Value", xyDataset, PlotOrientation.VERTICAL, true, true, false);ValueAxis rangeAxis = chart.getXYPlot().getRangeAxis();rangeAxis.setLowerBound(50.0f);


