Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java @ 2590:d75b427da50a
#522 Modified axes creation: label and tick label fonts will now always be the same.
flys-artifacts/trunk@4146 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 15 Mar 2012 12:28:11 +0000 |
parents | bece6f604899 |
children | 26cd4dfafdf1 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java Thu Mar 15 10:36:09 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java Thu Mar 15 12:28:11 2012 +0000 @@ -127,25 +127,6 @@ } - /** - * Create Y-Axis. - * First Axis: W. - * @return Y-Axis with label. - */ - @Override - protected NumberAxis createYAxis(int index) { - Font labelFont = new Font("Tahoma", Font.BOLD, 14); - String label = "default"; - if (index == YAXIS.W.idx) { - label = getYAxisLabel(0); - } - NumberAxis axis = createNumberAxis(index, label); - axis.setLabelFont(labelFont); - axis.setAutoRangeIncludesZero(false); - return axis; - } - - public void doOut( ArtifactAndFacet artifactFacet, Document theme,