comparison flys-artifacts/src/main/java/de/intevation/flys/exports/NormalizedReferenceCurveGenerator.java @ 2323:6bbb8295fd64

Fixed problems with incluing zeros in reference curves. flys-artifacts/trunk@4005 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 09 Feb 2012 14:51:50 +0000
parents 094b4abde10e
children 1fcaeced48f2
comparison
equal deleted inserted replaced
2322:c0eafd430244 2323:6bbb8295fd64
96 Font labelFont = new Font("Tahoma", Font.BOLD, 14); 96 Font labelFont = new Font("Tahoma", Font.BOLD, 14);
97 String label = getYAxisLabel(index); 97 String label = getYAxisLabel(index);
98 98
99 NumberAxis axis = createNumberAxis(index, label); 99 NumberAxis axis = createNumberAxis(index, label);
100 // TODO aspect-ratio settings. 100 // TODO aspect-ratio settings.
101 /*
101 if (index == YAXIS.W_M.idx) { 102 if (index == YAXIS.W_M.idx) {
102 axis.setAutoRangeIncludesZero(false); 103 axis.setAutoRangeIncludesZero(false);
103 } 104 }
105 */
106 axis.setAutoRangeIncludesZero(false);
104 axis.setLabelFont(labelFont); 107 axis.setLabelFont(labelFont);
105 return axis; 108 return axis;
106 } 109 }
107 110
108 111

http://dive4elements.wald.intevation.org