Mercurial > dive4elements > river
annotate artifacts/doc/conf/generators/longitudinal-diagram-defaults.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 | c657ddcf1fa6 |
children | 7bbfb24e6eec |
rev | line source |
---|---|
7169
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" ?> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
2 <longitudinal-defaults> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
3 <axis name="W"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
4 <axis name="diffW"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
5 <axis name="deltaW"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
6 <axis name="diffBed"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
7 <axis name="diffBed/Y"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
8 <axis name="Width"/> |
7176
1a938a5a7e21
Fix Y-Axis order for default longituidnals
Andre Heinecke <aheinecke@intevation.de>
parents:
7169
diff
changeset
|
9 <axis name="Diameter"/> |
1a938a5a7e21
Fix Y-Axis order for default longituidnals
Andre Heinecke <aheinecke@intevation.de>
parents:
7169
diff
changeset
|
10 <axis name="Density"/> |
7169
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
11 <axis name="Porosity"/> |
7497
8b2479d4ae30
issue1658: Instead of one SedimentLoad-Axis, have two (t/a, m^3/a).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7422
diff
changeset
|
12 <axis name="SedimentLoadM3A"/> |
8b2479d4ae30
issue1658: Instead of one SedimentLoad-Axis, have two (t/a, m^3/a).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7422
diff
changeset
|
13 <axis name="SedimentLoadTA"/> |
7169
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
14 <axis name="Velocity"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
15 <axis name="Tau"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
16 <axis name="Q" include-zero="true"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
17 <domain-axis key="chart.longitudinal.section.xaxis.label" default="Fluss-Km" |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
18 inverted="org.dive4elements.river.exports.IsKmUpEvaluator()"> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
19 <arg expr="artifact.river"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
20 </domain-axis> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
21 <!-- Default longitudinal section Processors --> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
22 <processor class="org.dive4elements.river.exports.process.DeltaWProcessor" axis="deltaW"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
23 <processor class="org.dive4elements.river.exports.process.AnnotationProcessor" axis="none"/> |
7643
a217de7ad762
Whitespace.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7596
diff
changeset
|
24 <processor class="org.dive4elements.river.exports.process.AreaProcessor" axis="none"/> |
7169
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
25 <processor class="org.dive4elements.river.exports.process.WDiffProcessor" axis="diffW"/> |
7523
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
26 <processor class="org.dive4elements.river.exports.process.WOutProcessor" axis="W"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
27 <processor class="org.dive4elements.river.exports.process.QOutProcessor" axis="Q"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
28 <processor class="org.dive4elements.river.exports.process.BedWidthProcessor" axis="Width"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
29 <processor class="org.dive4elements.river.exports.process.FixDeltaWProcessor" axis="diffBed"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
30 <processor class="org.dive4elements.river.exports.process.BedDiffYearProcessor" axis="diffBed"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
31 <processor class="org.dive4elements.river.exports.process.FixDeltaWAProcessor" axis="diffBed/Y"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
32 <processor class="org.dive4elements.river.exports.process.BedDiffHeightYearProcessor" axis="diffBed/Y"/> |
7596
12c4c8d0ac41
(issue1225) Unify Height BedHeight and W axis
Andre Heinecke <aheinecke@intevation.de>
parents:
7523
diff
changeset
|
33 <processor class="org.dive4elements.river.exports.process.MiddleBedHeightProcessor" axis="W"/> |
7169
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
34 <processor class="org.dive4elements.river.exports.process.BedQualityDiameterProcessor" axis="Diameter"/> |
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
35 <processor class="org.dive4elements.river.exports.process.BedQualityPorosityProcessor" axis="Porosity"/> |
7523
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
36 <processor class="org.dive4elements.river.exports.process.BedQualityDensityProcessor" axis="Density"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
37 <processor class="org.dive4elements.river.exports.process.SedimentLoadTAProcessor" axis="SedimentLoadTA"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
38 <processor class="org.dive4elements.river.exports.process.SedimentLoadM3AProcessor" axis="SedimentLoadM3A"/> |
8204
c657ddcf1fa6
Sediment loads at measurement stations and longitudinal sections need different processing and styling for diagrams.
Tom Gottfried <tom@intevation.de>
parents:
8156
diff
changeset
|
39 <processor class="org.dive4elements.river.exports.process.SedimentLoadLSTAProcessor" axis="SedimentLoadTA"/> |
c657ddcf1fa6
Sediment loads at measurement stations and longitudinal sections need different processing and styling for diagrams.
Tom Gottfried <tom@intevation.de>
parents:
8156
diff
changeset
|
40 <processor class="org.dive4elements.river.exports.process.SedimentLoadLSM3AProcessor" axis="SedimentLoadM3A"/> |
7523
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
41 <processor class="org.dive4elements.river.exports.process.FlowVelocityProcessor" axis="Velocity"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
42 <processor class="org.dive4elements.river.exports.process.ShearStressProcessor" axis="Tau"/> |
ce90d2f4ee46
issue1664: Add new Processors to old axis and map them in longitudinal-diagram-defaults.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7497
diff
changeset
|
43 <processor class="org.dive4elements.river.exports.process.SedimentDensityProcessor" axis="Density"/> |
7596
12c4c8d0ac41
(issue1225) Unify Height BedHeight and W axis
Andre Heinecke <aheinecke@intevation.de>
parents:
7523
diff
changeset
|
44 <processor class="org.dive4elements.river.exports.process.BedHeightProcessor" axis="W"/> |
7169
a2989d4e13f7
Factor out longitudinal section default config and put it in its own file
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
45 </longitudinal-defaults> |