comparison artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java @ 7246:7ea428c4aca0

Check for inverted setting later. This enables calles to make sure that the master artifact is set.
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 04 Oct 2013 18:35:05 +0200
parents 32db4f89b65f
children 1dff8e71c4d6
comparison
equal deleted inserted replaced
7245:965dbf2d4c44 7246:7ea428c4aca0
133 CallContext context 133 CallContext context
134 ) { 134 ) {
135 super.init(outName, request, out, context); 135 super.init(outName, request, out, context);
136 136
137 RiverUtils.setKMFromRequestInContext(request, context); 137 RiverUtils.setKMFromRequestInContext(request, context);
138
139 setInvertedFromConfig();
140 } 138 }
141 139
142 private void setInvertedFromConfig() { 140 private void setInvertedFromConfig() {
143 DiagramAttributes.DomainAxisAttributes dx = 141 DiagramAttributes.DomainAxisAttributes dx =
144 diagramAttributes.getDomainAxis(); 142 diagramAttributes.getDomainAxis();
190 preparePointRanges(plot); 188 preparePointRanges(plot);
191 189
192 //debugAxis(plot); 190 //debugAxis(plot);
193 191
194 localizeAxes(plot); 192 localizeAxes(plot);
193
194 setInvertedFromConfig();
195
195 adjustAxes(plot); 196 adjustAxes(plot);
196 if (!(axis instanceof LogarithmicAxis)) { 197 if (!(axis instanceof LogarithmicAxis)) {
197 // XXX: 198 // XXX:
198 // The auto zoom without a range tries 199 // The auto zoom without a range tries
199 // to include 0 in a logarithmic axis 200 // to include 0 in a logarithmic axis

http://dive4elements.wald.intevation.org