comparison flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 666:eb45e05e5c5b

Set the second y axis to axis position 1 (starts at 0). flys-artifacts/trunk@2079 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 08 Jun 2011 12:35:44 +0000
parents e006da5679d2
children 45cd58a2a2bb
comparison
equal deleted inserted replaced
665:d73b02526a6e 666:eb45e05e5c5b
150 super.adjustAxes(plot); 150 super.adjustAxes(plot);
151 151
152 NumberAxis qAxis = new NumberAxis( 152 NumberAxis qAxis = new NumberAxis(
153 msg(I18N_2YAXIS_LABEL, I18N_2YAXIS_LABEL_DEFAULT)); 153 msg(I18N_2YAXIS_LABEL, I18N_2YAXIS_LABEL_DEFAULT));
154 154
155 plot.setRangeAxis(2, qAxis); 155 plot.setRangeAxis(1, qAxis);
156 plot.mapDatasetToRangeAxis(1, 2); 156 plot.mapDatasetToRangeAxis(1, 1);
157 157
158 invertXAxis(plot.getDomainAxis()); 158 invertXAxis(plot.getDomainAxis());
159 } 159 }
160 160
161 161

http://dive4elements.wald.intevation.org