Mercurial > dive4elements > river
annotate artifacts/doc/conf/generators/longitudinal-diagrams.xml @ 8730:cb33de3434a8
(issue1754) Proper subtitle handling for Radius
This deduplicates the subtitle and zoom / radius calculation code
by moving it out of the processors. Doing this fixes cases where
the subtitle would be removed when a the according filtered facet
was removed although it should still have shown the Range for example.
Range is now also added as a subtitle for the difference diagrams.
This adds some tasty hack (with cheese) to determine wether or
not the user has set the subtitle. See the comment in
getChartSubtitlePure in LongitudinalSectionGenerator2 for details.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 30 Apr 2015 13:06:51 +0200 |
parents | 88b831b7bead |
children | 7bbfb24e6eec |
rev | line source |
---|---|
8158
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" ?> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 <longitudinal-diagrams> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
4 names="longitudinal_section,longitudinal_section_chartinfo,discharge_longitudinal_section,discharge_longitudinal_section_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
7 <title key="chart.longitudinal.section.title" default="W-Längsschnitt"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
8 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
11 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
12 names="w_differences,w_differences_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
13 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
14 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
15 <title key="chart.w_differences.title" default="Differences"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
16 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
17 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
18 <subtitle key="chart.w_differences.subtitle" default="-"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
19 <arg expr="artifact.river"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
20 </subtitle> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
21 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
22 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
23 names="fix_longitudinal_section_curve,fix_longitudinal_section_curve_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
24 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
25 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
26 <title key="chart.fixings.longitudinalsection.title" default="Fixierungsanalyse"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
27 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
28 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="deltaW"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
29 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
30 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
31 names="bedheight_middle,bedheight_middle_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
32 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
33 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
34 <title key="chart.bedheight_middle.section.title" default="Mittlere Sohlhöhe"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
35 &longitudinal-defaults; |
8586
19fde13e2db4
(issue1599) Fix ManualPoints axis for bedheight_middle outputs.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8160
diff
changeset
|
36 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/> |
8158
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
37 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
38 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
39 names="bed_difference_height_year,bed_difference_height_year_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
40 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
41 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
42 <title key="chart.beddifference.height.title" default="Sohlenhöhen Differenz"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
43 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
44 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
45 axis="diffBed/Y"/> |
8729
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
46 <subtitle key="chart.w_differences.subtitle" default="-"> |
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
47 <arg expr="artifact.river"/> |
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
48 </subtitle> |
8158
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
49 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
50 <output-generator names="bed_difference_year,bed_difference_year_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
51 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
52 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
53 <title key="chart.beddifference.year.title" default="Sohlenhöhen Differenz"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
54 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
55 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
56 axis="diffBed"/> |
8729
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
57 <subtitle key="chart.w_differences.subtitle" default="-"> |
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
58 <arg expr="artifact.river"/> |
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
59 </subtitle> |
8158
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
60 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
61 <output-generator names="bed_longitudinal_section,bed_longitudinal_section_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
62 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
63 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
64 <title key="chart.bedquality.title" default="Sohlen Längsschnitt"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
65 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
66 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
67 axis="diffBed"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
68 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
69 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
70 names="sedimentload_ls,sedimentload_ls_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
71 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
72 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
73 <title key="chart.sedimentload.ls.title" default="Sedimentfracht"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
74 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
75 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
76 axis="SedimentLoad"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
77 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
78 <output-generator |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
79 names="flow_velocity,flow_velocity_chartinfo" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
80 class="org.dive4elements.river.exports.LongitudinalSectionGenerator2" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
81 converter="org.dive4elements.river.exports.DiagramAttributes"> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
82 <title key="chart.flow_velocity.section.title" default="Geschwindigkeit- und Schubspannung"/> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
83 &longitudinal-defaults; |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
84 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
85 axis="Velocity"/> |
8729
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
86 <subtitle key="chart.w_differences.subtitle" default="-"> |
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
87 <arg expr="artifact.river"/> |
88b831b7bead
(issue1754) Add subtitle to output for Minfo Diff's and Flow velocity
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8586
diff
changeset
|
88 </subtitle> |
8158
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
89 </output-generator> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
90 </longitudinal-diagrams> |
ecd84d8b908a
Moved more generator stuff in reguarding sub directory.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
91 |