annotate artifacts/doc/conf/jasper/duration.jrxml @ 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 138feb491c8a
children
rev   line source
8583
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="flysreport" language="groovy" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 <property name="ireport.zoom" value="1.0"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
4 <property name="ireport.x" value="0"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
5 <property name="ireport.y" value="0"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
6 <field name="river" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
7 <field name="W" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
8 <field name="date" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
9 <field name="Q" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 <field name="calculation" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11 <field name="range" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
12 <field name="day" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
13 <background>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
14 <band splitType="Stretch"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
15 </background>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
16 <title>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
17 <band height="162" splitType="Stretch">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
18 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
19 <reportElement x="0" y="1" width="155" height="30"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
20 <textElement>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
21 <font size="18"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
22 </textElement>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
23 <text><![CDATA[Ergebnisausgabe]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
24 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
25 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
26 <reportElement x="155" y="0" width="360" height="31"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
27 <textElement>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
28 <font size="18"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
29 </textElement>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
30 <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
31 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
32 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
33 <reportElement x="0" y="31" width="515" height="26"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
34 <textElement>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
35 <font size="14"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
36 </textElement>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
37 <textFieldExpression><![CDATA[$F{calculation}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
38 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
39 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
40 <reportElement x="0" y="70" width="123" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
41 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
42 <text><![CDATA[Gewässer:]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
43 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
44 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
45 <reportElement x="123" y="70" width="392" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
46 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
47 <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
48 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
49 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
50 <reportElement x="0" y="90" width="123" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
51 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
52 <text><![CDATA[Datum der Erstellung:]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
53 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
54 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
55 <reportElement x="123" y="90" width="392" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
56 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
57 <textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
58 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
59 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
60 <reportElement x="0" y="110" width="123" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
61 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
62 <text><![CDATA[Ort/Bereich:]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
63 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
64 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
65 <reportElement x="123" y="110" width="392" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
66 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
67 <textFieldExpression><![CDATA[$F{range}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
68 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
69 </band>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
70 </title>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
71 <columnHeader>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
72 <band height="25" splitType="Stretch">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
73 <line>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
74 <reportElement x="0" y="19" width="515" height="1"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
75 </line>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
76 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
77 <reportElement x="0" y="0" width="155" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
78 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
79 <text><![CDATA[W [NN + m]]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
80 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
81 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
82 <reportElement x="155" y="0" width="150" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
83 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
84 <text><![CDATA[Q [m³/s]]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
85 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
86 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
87 <reportElement x="305" y="0" width="138" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
88 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
89 <text><![CDATA[D [Tagen]]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
90 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
91 </band>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
92 </columnHeader>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
93 <detail>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
94 <band height="14" splitType="Stretch">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
95 <textField isBlankWhenNull="true">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
96 <reportElement x="0" y="0" width="155" height="14"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
97 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
98 <textFieldExpression><![CDATA[$F{W}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
99 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
100 <textField isBlankWhenNull="true">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
101 <reportElement x="155" y="0" width="150" height="14"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
102 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
103 <textFieldExpression><![CDATA[$F{Q}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
104 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
105 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
106 <reportElement x="305" y="0" width="138" height="14"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
107 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
108 <textFieldExpression><![CDATA[$F{day}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
109 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
110 </band>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
111 </detail>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
112 <pageFooter>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
113 <band height="29" splitType="Stretch">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
114 <textField evaluationTime="Report">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
115 <reportElement x="458" y="9" width="57" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
116 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
117 <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
118 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
119 <textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
120 <reportElement x="403" y="9" width="55" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
121 <textElement textAlignment="Right"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
122 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
123 </textField>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
124 </band>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
125 </pageFooter>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
126 <summary>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
127 <band height="42" splitType="Stretch"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
128 </summary>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
129 </jasperReport>

http://dive4elements.wald.intevation.org