annotate artifacts/doc/conf/jasper/wdifferences_en.jrxml @ 8748:36d7bda0b47a

(issue1788) Fix area split if there are no NaN's in the data The split algorithmn splits in a way that it always creates at least two datasets. One before the NaN, one after the NaN. This is broken in case the dataset does not contain any NaN value as it resulted in two identical datasets. This changed the display and resulted in a broken area calculation. I've also added some commented out debug code that was helpful tracking down this problem.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 08 Jun 2015 16:53:54 +0200
parents ce325339e9ba
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="calculation" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 <field name="differences" class="java.lang.String"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11 <field name="km" class="java.lang.String"/>
8584
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
12 <field name="range" class="java.lang.String"/>
8583
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="161" 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="180" 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[Calculation result]]></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="180" y="0" width="335" 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[River:]]></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[Date of creation:]]></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[Differences:]]></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 isStretchWithOverflow="true">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
65 <reportElement stretchType="RelativeToTallestObject" 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{differences}]]></textFieldExpression>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
68 </textField>
8584
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
69 <textField>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
70 <reportElement x="123" y="130" width="392" height="20"/>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
71 <textElement/>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
72 <textFieldExpression><![CDATA[$F{range}]]></textFieldExpression>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
73 </textField>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
74 <staticText>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
75 <reportElement x="0" y="130" width="123" height="20"/>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
76 <textElement/>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
77 <text><![CDATA[Range:]]></text>
ce325339e9ba (issue1754) Add range to W / Bed difference export.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8583
diff changeset
78 </staticText>
8583
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
79 </band>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
80 </title>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
81 <columnHeader>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
82 <band height="24" splitType="Stretch">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
83 <line>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
84 <reportElement x="0" y="19" width="555" height="1"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
85 </line>
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="0" y="0" width="155" 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[River-Km]]></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 <staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
92 <reportElement x="155" y="0" width="150" height="20"/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
93 <textElement/>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
94 <text><![CDATA[m]]></text>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
95 </staticText>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
96 </band>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
97 </columnHeader>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
98 <detail>
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
99 <band height="14" splitType="Stretch">
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="0" y="0" width="155" 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{km}]]></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 isBlankWhenNull="true">
138feb491c8a Add jasper -> jrxml converted files.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
106 <reportElement x="155" y="0" width="150" 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{W}]]></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="468" 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="413" 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