Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ComputedDischargeCurveGenerator.java @ 6460:eff4c24a79b1
ComputedDischargeCurveGenerator: Removed garbage.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 26 Jun 2013 23:03:28 +0200 |
parents | e860fa106f56 |
children | 2e850d56ae87 |
comparison
equal
deleted
inserted
replaced
6459:7b302e8c494f | 6460:eff4c24a79b1 |
---|---|
100 unit = "cm"; | 100 unit = "cm"; |
101 | 101 |
102 return msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL_DEFAULT, new Object[] { unit }); | 102 return msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL_DEFAULT, new Object[] { unit }); |
103 } | 103 } |
104 | 104 |
105 /** | |
106 * Generate a ForceAxisDataset for the second y axis, if requested, | |
107 * to force display of second Y axis. | |
108 @Override | |
109 protected AxisDataset createAxisDataset(int idx) { | |
110 logger.debug("Create new ForceAxisDataset for index: " + idx); | |
111 if (true || idx == 1) { | |
112 return new ForceAxisDataset(1); | |
113 } | |
114 return new XYAxisDataset(idx); | |
115 } | |
116 */ | |
117 | 105 |
118 /** | 106 /** |
119 * Create Y (range) axis for given index, here with a special axis | 107 * Create Y (range) axis for given index, here with a special axis |
120 * that depends on other axis (does translation and scaling for | 108 * that depends on other axis (does translation and scaling for |
121 * special case at gauge in cm). | 109 * special case at gauge in cm). |