Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java @ 3809:cc83b8e42dbe
Picked rev3347-rev3351 from trunk.
flys-artifacts/tags/pre2.6-2011-12-05@3352 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 05 Dec 2011 09:48:44 +0000 |
parents | 65f9d707caff |
children | 156304542edf |
comparison
equal
deleted
inserted
replaced
1950:37a7b3841565 | 3809:cc83b8e42dbe |
---|---|
92 // TODO i18n for this label | 92 // TODO i18n for this label |
93 label = "Q [m\u00b3/s]"; | 93 label = "Q [m\u00b3/s]"; |
94 //label = msg(get2YAxisLabelKey(), get2YAxisDefaultLabel()); | 94 //label = msg(get2YAxisLabelKey(), get2YAxisDefaultLabel()); |
95 } | 95 } |
96 NumberAxis axis = new NumberAxis(label); | 96 NumberAxis axis = new NumberAxis(label); |
97 if (index == YAXIS.W.idx) { | |
98 axis.setAutoRangeIncludesZero(false); | |
99 } | |
97 axis.setLabelFont(labelFont); | 100 axis.setLabelFont(labelFont); |
98 return axis; | 101 return axis; |
99 } | 102 } |
100 | 103 |
101 protected String getChartTitle() { | 104 protected String getChartTitle() { |