comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 543:9c2cf4811a7d

Added a control to reset the zoom of a chart. In addition, the zoom buttons are displayed as ImgButtons now. flys-client/trunk@2049 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 03 Jun 2011 08:20:22 +0000
parents 7c57149e8715
children 0f4095a522ab
comparison
equal deleted inserted replaced
542:7c57149e8715 543:9c2cf4811a7d
158 158
159 updateChartPanel(); 159 updateChartPanel();
160 } 160 }
161 161
162 162
163 public void resetRanges() {
164 xrange[0] = 0;
165 xrange[1] = 0;
166 yrange[0] = 0;
167 yrange[1] = 0;
168
169 updateChartPanel();
170 }
171
172
163 /** 173 /**
164 * Updates the Transform2D object using the chart info service. 174 * Updates the Transform2D object using the chart info service.
165 */ 175 */
166 public void updateTransformer() { 176 public void updateTransformer() {
167 Canvas chart = getChartPanel(); 177 Canvas chart = getChartPanel();

http://dive4elements.wald.intevation.org