Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 2246:99ef93ce18bd
Doc added and fix getAxisWalker-issue.
flys-artifacts/trunk@3895 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 03 Feb 2012 13:05:25 +0000 |
parents | 7e8e1d5384c0 |
children | 6aeb71517136 |
comparison
equal
deleted
inserted
replaced
2245:16598bd04f70 | 2246:99ef93ce18bd |
---|---|
164 public int getPlotAxisIndex() { | 164 public int getPlotAxisIndex() { |
165 return this.plotAxisIndex; | 165 return this.plotAxisIndex; |
166 } | 166 } |
167 } // class AxisDataset | 167 } // class AxisDataset |
168 | 168 |
169 | 169 protected abstract YAxisWalker getYAxisWalker(); |
170 /** Override to make axis information available. */ | |
171 protected YAxisWalker getYAxisWalker() { | |
172 return new YAxisWalker() { | |
173 /** Get number of items. */ | |
174 @Override | |
175 public int length() { | |
176 return 0; | |
177 } | |
178 | |
179 /** Get identifier for this index. */ | |
180 @Override | |
181 public String getId(int idx) { | |
182 return null; | |
183 } | |
184 }; | |
185 } | |
186 | |
187 | 170 |
188 /** The logger that is used in this generator. */ | 171 /** The logger that is used in this generator. */ |
189 private static Logger logger = Logger.getLogger(XYChartGenerator.class); | 172 private static Logger logger = Logger.getLogger(XYChartGenerator.class); |
190 | 173 |
191 /** List of annotations to insert in plot. */ | 174 /** List of annotations to insert in plot. */ |