comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java @ 506:d41c155db337

Solved issue100. Improved axes range. Scale dataset to its own axis. gnv-artifacts/trunk@589 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 21 Jan 2010 10:09:01 +0000
parents 2413273f1c13
children b98d1adee7a6
comparison
equal deleted inserted replaced
505:7ff916744f40 506:d41c155db337
131 131
132 if (idx % 2 != 0) 132 if (idx % 2 != 0)
133 plot.setRangeAxisLocation(idx, AxisLocation.BOTTOM_OR_RIGHT); 133 plot.setRangeAxisLocation(idx, AxisLocation.BOTTOM_OR_RIGHT);
134 else 134 else
135 plot.setRangeAxisLocation(idx, AxisLocation.BOTTOM_OR_LEFT); 135 plot.setRangeAxisLocation(idx, AxisLocation.BOTTOM_OR_LEFT);
136
137 plot.mapDatasetToRangeAxis(idx, idx);
136 } 138 }
137 139
138 140
139 protected void adjustRenderer( 141 protected void adjustRenderer(
140 int idx, 142 int idx,

http://dive4elements.wald.intevation.org