1.自定义纵轴的数值显示位数
NumberAxis vn = (NumberAxis) xyplot.getRangeAxis();
vn.setAutoTickUnitSelection(false);
NumberTickUnit nt = new NumberTickUnit(1.0);//控制显示位数
vn.setTickUnit(nt);