Mercurial > dive4elements > river
annotate artifacts/doc/conf/generators/sqrelation-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 | 5d7370cda6cb |
children |
rev | line source |
---|---|
7239
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" ?> |
8166
72c0d4682cf6
Renamed tag in sq relation defaults to a more fitting name.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
8158
diff
changeset
|
2 <sqrelation-defaults> |
7239
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
3 <axis name="Transport" logarithmic="true"/> |
8309
4acf7cff7355
Make WQ-data loadable in SQ-diagrams. We still need to handle mainvalues and values <=0 on x-axis.
"Tom Gottfried <tom@intevation.de>"
parents:
8166
diff
changeset
|
4 <axis name="W"/> |
7239
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
5 <domain-axis key="chart.sq_relation.xaxis.label" default="" logarithmic="true"/> |
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
6 <processor class="org.dive4elements.river.exports.process.SQRelationProcessor" axis="Transport"/> |
8309
4acf7cff7355
Make WQ-data loadable in SQ-diagrams. We still need to handle mainvalues and values <=0 on x-axis.
"Tom Gottfried <tom@intevation.de>"
parents:
8166
diff
changeset
|
7 <processor class="org.dive4elements.river.exports.process.DischargeProcessor" axis="W"/> |
4acf7cff7355
Make WQ-data loadable in SQ-diagrams. We still need to handle mainvalues and values <=0 on x-axis.
"Tom Gottfried <tom@intevation.de>"
parents:
8166
diff
changeset
|
8 <processor class="org.dive4elements.river.exports.process.MiscDischargeProcessor" axis="W"/> |
4acf7cff7355
Make WQ-data loadable in SQ-diagrams. We still need to handle mainvalues and values <=0 on x-axis.
"Tom Gottfried <tom@intevation.de>"
parents:
8166
diff
changeset
|
9 <processor class="org.dive4elements.river.exports.process.FixWQProcessor" axis="W"/> |
4acf7cff7355
Make WQ-data loadable in SQ-diagrams. We still need to handle mainvalues and values <=0 on x-axis.
"Tom Gottfried <tom@intevation.de>"
parents:
8166
diff
changeset
|
10 <processor class="org.dive4elements.river.exports.process.FixDerivedProcessor" axis="W"/> |
7239
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
11 <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" |
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
12 axis="Transport"/> |
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
13 <subtitle key="chart.computed.discharge.curve.subtitle" default="-"> |
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
14 <arg expr="artifact.river"/> |
7242
69709f490d92
Polish labels and remove unused classes. SQOverview is currently broken.
Andre Heinecke <aheinecke@intevation.de>
parents:
7239
diff
changeset
|
15 <arg expr="artifact.ld_locations" type="double"/> |
7239
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
16 </subtitle> |
8166
72c0d4682cf6
Renamed tag in sq relation defaults to a more fitting name.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
8158
diff
changeset
|
17 </sqrelation-defaults> |
7239
a62c5b48ccab
Configure SQ Relations to use new diagram way
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
18 |