annotate artifacts/src/main/java/org/dive4elements/river/exports/CrossSectionInfoGenerator.java @ 7691:fa4fbd66e752

(issue1579) Fix axes syncronisation at Gauges The SyncNumberAxis was completely broken. It only synced in one direction and even that did not work correctly when data was added to the axis (and the syncAxis rescaled but forgot the old axis) then there were lots of ways to bypass that scaling. And i also think the trans calculation was wrong. It has been replaced by a "mostly" simple method to just keep the W in M and W in CM+Datum axes in sync. I say "Mostly" because it had to deal with the Bounds interface.
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 13 Dec 2013 19:03:00 +0100
parents af13ceeba52a
children
rev   line source
5863
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
2 * Software engineering by Intevation GmbH
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
3 *
5994
af13ceeba52a Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5863
diff changeset
4 * This file is Free Software under the GNU AGPL (>=v3)
5863
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the
5994
af13ceeba52a Removed trailing whitespace.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5863
diff changeset
6 * documentation coming with Dive4Elements River for details.
5863
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
7 */
4897a58c8746 River artifacts: Added new copyright headers.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
8
5831
bd047b71ab37 Repaired internal references
Sascha L. Teichmann <teichmann@intevation.de>
parents: 1126
diff changeset
9 package org.dive4elements.river.exports;
1126
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
10
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
11
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
12 /**
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
13 * A ChartInfoGenerator that generates meta information for specific cross
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
14 * sections.
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
15 */
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
16 public class CrossSectionInfoGenerator extends ChartInfoGenerator {
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
17
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
18 public CrossSectionInfoGenerator() {
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
19 super(new CrossSectionGenerator());
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
20 }
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
21 }
da4d8631fc46 Add CrossSectionInfoGenerator.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff changeset
22 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org