~eduardo-bayardo-bias/openobject-addons/addons_minerales

« back to all changes in this revision

Viewing changes to jasper_reports/custom_reports/report_production_plant.jrxml

  • Committer: root
  • Date: 2012-02-16 23:12:06 UTC
  • Revision ID: root@minerales-20120216231206-xgfkdzoz7ukblpuy
se agregao los jaspers a ignore list

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
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="report_production_plant" language="groovy" columnCount="2" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="368" columnSpacing="15" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isTitleNewPage="true" isSummaryNewPage="true" isSummaryWithPageHeaderAndFooter="true" isFloatColumnFooter="true">
 
3
        <property name="ireport.zoom" value="1.1000000000000005"/>
 
4
        <property name="ireport.x" value="0"/>
 
5
        <property name="ireport.y" value="639"/>
 
6
        <style name="Crosstab Data Text" hAlign="Center"/>
 
7
        <style name="title" mode="Opaque" forecolor="#006699" backcolor="#E6E6E6" fontSize="10" isBold="true">
 
8
                <pen lineStyle="Dotted"/>
 
9
                <box topPadding="0" leftPadding="0">
 
10
                        <pen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
11
                        <topPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
12
                        <leftPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
13
                        <bottomPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
14
                        <rightPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
15
                </box>
 
16
        </style>
 
17
        <style name="cuerpo" fontSize="8">
 
18
                <pen lineStyle="Dotted"/>
 
19
                <box>
 
20
                        <pen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
21
                        <topPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
22
                        <leftPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
23
                        <bottomPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
24
                        <rightPen lineWidth="0.25" lineStyle="Dotted" lineColor="#5E93F2"/>
 
25
                </box>
 
26
        </style>
 
27
        <style name="Row">
 
28
                <conditionalStyle>
 
29
                        <conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
 
30
                        <style mode="Opaque" backcolor="#F0F8FF"/>
 
31
                </conditionalStyle>
 
32
        </style>
 
33
        <subDataset name="graphs_mensual">
 
34
                <parameter name="location_id" class="java.lang.Integer"/>
 
35
                <parameter name="fiscalyear_id" class="java.lang.String"/>
 
36
                <queryString>
 
37
                        <![CDATA[SELECT DISTINCT period_id, period_name, production_id, SUM(producto) AS producto FROM get_production_plant($P{location_id}, $P{fiscalyear_id}) AS
 
38
("sequence" integer,
 
39
        "id" integer,
 
40
        "default_code" character varying,
 
41
        "fiscalyear_id" integer,
 
42
        "fiscalyear_name" character varying,
 
43
        "period" integer,
 
44
        "period_id" integer,
 
45
        "period_name" character varying,
 
46
        "production_id" integer,
 
47
        "producto" bigint)
 
48
GROUP BY period_id, period_name, production_id;]]>
 
49
                </queryString>
 
50
                <field name="period_id" class="java.lang.Integer"/>
 
51
                <field name="period_name" class="java.lang.String"/>
 
52
                <field name="production_id" class="java.lang.Integer"/>
 
53
                <field name="producto" class="java.math.BigDecimal"/>
 
54
        </subDataset>
 
55
        <parameter name="company_name" class="java.lang.String"/>
 
56
        <parameter name="report_name" class="java.lang.String"/>
 
57
        <parameter name="user_name" class="java.lang.String"/>
 
58
        <parameter name="fiscalyear_name" class="java.lang.String"/>
 
59
        <parameter name="location_id" class="java.lang.Integer"/>
 
60
        <parameter name="fiscalyear_id" class="java.lang.String"/>
 
61
        <parameter name="report_subname" class="java.lang.String"/>
 
62
        <queryString>
 
63
                <![CDATA[SELECT * FROM get_production_plant($P{location_id}, $P{fiscalyear_id}) AS
 
64
("sequence" integer,
 
65
        "id" integer,
 
66
        "default_code" character varying,
 
67
        "fiscalyear_id" integer,
 
68
        "fiscalyear_name" character varying,
 
69
        "period" integer,
 
70
        "period_id" integer,
 
71
        "period_name" character varying,
 
72
        "production_id" integer,
 
73
        "producto" bigint) ORDER BY sequence, fiscalyear_id, period_id;]]>
 
74
        </queryString>
 
75
        <field name="sequence" class="java.lang.Integer"/>
 
76
        <field name="id" class="java.lang.Integer"/>
 
77
        <field name="default_code" class="java.lang.String"/>
 
78
        <field name="fiscalyear_id" class="java.lang.Integer"/>
 
79
        <field name="fiscalyear_name" class="java.lang.String"/>
 
80
        <field name="period" class="java.lang.Integer"/>
 
81
        <field name="period_id" class="java.lang.Integer"/>
 
82
        <field name="period_name" class="java.lang.String"/>
 
83
        <field name="production_id" class="java.lang.Integer"/>
 
84
        <field name="producto" class="java.lang.Long"/>
 
85
        <group name="sequence" isStartNewColumn="true">
 
86
                <groupExpression><![CDATA[$F{sequence}]]></groupExpression>
 
87
                <groupHeader>
 
88
                        <band height="12">
 
89
                                <frame>
 
90
                                        <reportElement style="title" x="62" y="0" width="223" height="12"/>
 
91
                                        <textField>
 
92
                                                <reportElement x="0" y="0" width="223" height="12"/>
 
93
                                                <textElement textAlignment="Center" verticalAlignment="Middle">
 
94
                                                        <font size="8" isBold="true"/>
 
95
                                                </textElement>
 
96
                                                <textFieldExpression class="java.lang.String"><![CDATA[$F{default_code}]]></textFieldExpression>
 
97
                                        </textField>
 
98
                                </frame>
 
99
                        </band>
 
100
                </groupHeader>
 
101
                <groupFooter>
 
102
                        <band height="255">
 
103
                                <bar3DChart>
 
104
                                        <chart theme="generic">
 
105
                                                <reportElement x="0" y="17" width="368" height="221"/>
 
106
                                                <chartTitle>
 
107
                                                        <font size="8"/>
 
108
                                                </chartTitle>
 
109
                                                <chartSubtitle>
 
110
                                                        <font size="8"/>
 
111
                                                </chartSubtitle>
 
112
                                                <chartLegend>
 
113
                                                        <font size="8"/>
 
114
                                                </chartLegend>
 
115
                                        </chart>
 
116
                                        <categoryDataset>
 
117
                                                <dataset resetType="Group" resetGroup="sequence"/>
 
118
                                                <categorySeries>
 
119
                                                        <seriesExpression><![CDATA[$F{period_name}]]></seriesExpression>
 
120
                                                        <categoryExpression><![CDATA[$F{period_id}]]></categoryExpression>
 
121
                                                        <valueExpression><![CDATA[$F{producto}]]></valueExpression>
 
122
                                                </categorySeries>
 
123
                                        </categoryDataset>
 
124
                                        <bar3DPlot>
 
125
                                                <plot/>
 
126
                                                <itemLabel color="#000000" backgroundColor="#FFFFFF">
 
127
                                                        <font size="8"/>
 
128
                                                </itemLabel>
 
129
                                                <categoryAxisFormat>
 
130
                                                        <axisFormat>
 
131
                                                                <labelFont/>
 
132
                                                                <tickLabelFont>
 
133
                                                                        <font size="8"/>
 
134
                                                                </tickLabelFont>
 
135
                                                        </axisFormat>
 
136
                                                </categoryAxisFormat>
 
137
                                                <valueAxisFormat>
 
138
                                                        <axisFormat>
 
139
                                                                <labelFont>
 
140
                                                                        <font size="8"/>
 
141
                                                                </labelFont>
 
142
                                                                <tickLabelFont>
 
143
                                                                        <font size="8"/>
 
144
                                                                </tickLabelFont>
 
145
                                                        </axisFormat>
 
146
                                                </valueAxisFormat>
 
147
                                        </bar3DPlot>
 
148
                                </bar3DChart>
 
149
                        </band>
 
150
                </groupFooter>
 
151
        </group>
 
152
        <background>
 
153
                <band splitType="Stretch"/>
 
154
        </background>
 
155
        <title>
 
156
                <band height="568">
 
157
                        <frame>
 
158
                                <reportElement mode="Opaque" x="-1" y="0" width="225" height="80" backcolor="#3D8EC5"/>
 
159
                        </frame>
 
160
                        <textField>
 
161
                                <reportElement x="62" y="0" width="162" height="80" forecolor="#FFFFFF"/>
 
162
                                <box>
 
163
                                        <leftPen lineWidth="0.25"/>
 
164
                                </box>
 
165
                                <textElement textAlignment="Center" verticalAlignment="Middle">
 
166
                                        <font size="25" isBold="true"/>
 
167
                                </textElement>
 
168
                                <textFieldExpression class="java.lang.String"><![CDATA["[" + $P{fiscalyear_name} + "]"]]></textFieldExpression>
 
169
                        </textField>
 
170
                        <textField>
 
171
                                <reportElement x="62" y="80" width="162" height="26"/>
 
172
                                <box>
 
173
                                        <leftPen lineWidth="0.25"/>
 
174
                                </box>
 
175
                                <textElement verticalAlignment="Middle"/>
 
176
                                <textFieldExpression class="java.lang.String"><![CDATA[$P{company_name}]]></textFieldExpression>
 
177
                        </textField>
 
178
                        <textField>
 
179
                                <reportElement x="62" y="106" width="162" height="29"/>
 
180
                                <box>
 
181
                                        <leftPen lineWidth="0.25"/>
 
182
                                </box>
 
183
                                <textElement verticalAlignment="Middle"/>
 
184
                                <textFieldExpression class="java.lang.String"><![CDATA[$P{user_name}]]></textFieldExpression>
 
185
                        </textField>
 
186
                        <frame>
 
187
                                <reportElement x="1" y="437" width="751" height="78"/>
 
188
                                <textField>
 
189
                                        <reportElement x="0" y="0" width="751" height="52"/>
 
190
                                        <textElement textAlignment="Center" verticalAlignment="Middle">
 
191
                                                <font size="30" isBold="true"/>
 
192
                                        </textElement>
 
193
                                        <textFieldExpression class="java.lang.String"><![CDATA["[" + $P{report_name} + "]"]]></textFieldExpression>
 
194
                                </textField>
 
195
                                <textField>
 
196
                                        <reportElement x="0" y="52" width="751" height="26"/>
 
197
                                        <textElement textAlignment="Center" verticalAlignment="Middle">
 
198
                                                <font isBold="true"/>
 
199
                                        </textElement>
 
200
                                        <textFieldExpression class="java.lang.String"><![CDATA[$P{report_subname}]]></textFieldExpression>
 
201
                                </textField>
 
202
                        </frame>
 
203
                </band>
 
204
        </title>
 
205
        <pageHeader>
 
206
                <band height="59" splitType="Stretch">
 
207
                        <frame>
 
208
                                <reportElement mode="Opaque" x="-21" y="0" width="795" height="45" backcolor="#006699"/>
 
209
                                <textField>
 
210
                                        <reportElement x="549" y="10" width="100" height="10" forecolor="#FFFFFF"/>
 
211
                                        <textElement>
 
212
                                                <font size="8"/>
 
213
                                        </textElement>
 
214
                                        <textFieldExpression class="java.lang.String"><![CDATA["Fecha de Impresión: "]]></textFieldExpression>
 
215
                                </textField>
 
216
                                <textField pattern="dd/MM/yyyy">
 
217
                                        <reportElement x="649" y="10" width="61" height="10" forecolor="#FFFFFF"/>
 
218
                                        <textElement>
 
219
                                                <font size="8"/>
 
220
                                        </textElement>
 
221
                                        <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
 
222
                                </textField>
 
223
                                <textField pattern="h.mm.ss a">
 
224
                                        <reportElement x="710" y="10" width="62" height="10" forecolor="#FFFFFF"/>
 
225
                                        <textElement>
 
226
                                                <font size="8"/>
 
227
                                        </textElement>
 
228
                                        <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
 
229
                                </textField>
 
230
                                <textField>
 
231
                                        <reportElement x="549" y="20" width="223" height="10" forecolor="#FFFFFF"/>
 
232
                                        <textElement>
 
233
                                                <font size="8"/>
 
234
                                        </textElement>
 
235
                                        <textFieldExpression class="java.lang.String"><![CDATA["Por :  " + $P{user_name}]]></textFieldExpression>
 
236
                                </textField>
 
237
                                <image scaleImage="FillFrame">
 
238
                                        <reportElement stretchType="RelativeToTallestObject" x="20" y="0" width="38" height="45"/>
 
239
                                        <imageExpression class="java.lang.String"><![CDATA["logo_mcm.gif"]]></imageExpression>
 
240
                                </image>
 
241
                                <textField>
 
242
                                        <reportElement x="200" y="0" width="349" height="45" forecolor="#FFFFFF"/>
 
243
                                        <textElement textAlignment="Center" verticalAlignment="Middle">
 
244
                                                <font size="9" isBold="true"/>
 
245
                                        </textElement>
 
246
                                        <textFieldExpression class="java.lang.String"><![CDATA[$P{report_name}]]></textFieldExpression>
 
247
                                </textField>
 
248
                                <textField>
 
249
                                        <reportElement x="58" y="0" width="142" height="45" forecolor="#FFFFFF"/>
 
250
                                        <textElement textAlignment="Center" verticalAlignment="Middle">
 
251
                                                <font size="8"/>
 
252
                                        </textElement>
 
253
                                        <textFieldExpression class="java.lang.String"><![CDATA[$P{company_name}]]></textFieldExpression>
 
254
                                </textField>
 
255
                        </frame>
 
256
                        <textField>
 
257
                                <reportElement x="0" y="45" width="751" height="13"/>
 
258
                                <textElement textAlignment="Center" verticalAlignment="Middle">
 
259
                                        <font size="8" isBold="true"/>
 
260
                                </textElement>
 
261
                                <textFieldExpression class="java.lang.String"><![CDATA["Reporte Correspondiente al : "  +$P{fiscalyear_name}]]></textFieldExpression>
 
262
                        </textField>
 
263
                </band>
 
264
        </pageHeader>
 
265
        <columnHeader>
 
266
                <band height="16" splitType="Stretch"/>
 
267
        </columnHeader>
 
268
        <detail>
 
269
                <band height="12" splitType="Stretch">
 
270
                        <frame>
 
271
                                <reportElement style="Row" mode="Transparent" x="62" y="0" width="223" height="12" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" isPrintWhenDetailOverflows="true" printWhenGroupChanges="sequence"/>
 
272
                                <textField pattern="#,##0.00">
 
273
                                        <reportElement style="Row" x="118" y="0" width="105" height="12"/>
 
274
                                        <box>
 
275
                                                <pen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
276
                                                <topPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
277
                                                <leftPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
278
                                                <bottomPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
279
                                                <rightPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
280
                                        </box>
 
281
                                        <textElement textAlignment="Right" verticalAlignment="Middle">
 
282
                                                <font size="7"/>
 
283
                                        </textElement>
 
284
                                        <textFieldExpression class="java.lang.Long"><![CDATA[$F{producto}]]></textFieldExpression>
 
285
                                </textField>
 
286
                                <textField>
 
287
                                        <reportElement style="Row" x="0" y="0" width="118" height="12"/>
 
288
                                        <box>
 
289
                                                <pen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
290
                                                <topPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
291
                                                <leftPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
292
                                                <bottomPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
293
                                                <rightPen lineWidth="0.25" lineStyle="Dotted" lineColor="#C6B3B3"/>
 
294
                                        </box>
 
295
                                        <textElement verticalAlignment="Middle">
 
296
                                                <font size="7"/>
 
297
                                        </textElement>
 
298
                                        <textFieldExpression class="java.lang.String"><![CDATA["   " + $F{period_name}]]></textFieldExpression>
 
299
                                </textField>
 
300
                        </frame>
 
301
                </band>
 
302
        </detail>
 
303
        <columnFooter>
 
304
                <band splitType="Stretch"/>
 
305
        </columnFooter>
 
306
        <pageFooter>
 
307
                <band height="17">
 
308
                        <textField>
 
309
                                <reportElement mode="Opaque" x="0" y="0" width="712" height="17" backcolor="#E6E6E6"/>
 
310
                                <textElement textAlignment="Right" verticalAlignment="Middle">
 
311
                                        <font size="6"/>
 
312
                                </textElement>
 
313
                                <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
 
314
                        </textField>
 
315
                        <textField evaluationTime="Report">
 
316
                                <reportElement mode="Opaque" x="712" y="0" width="40" height="17" backcolor="#E6E6E6"/>
 
317
                                <textElement verticalAlignment="Middle">
 
318
                                        <font size="6"/>
 
319
                                </textElement>
 
320
                                <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
 
321
                        </textField>
 
322
                        <textField pattern="EEEEE dd MMMMM yyyy">
 
323
                                <reportElement x="0" y="0" width="332" height="17"/>
 
324
                                <textElement verticalAlignment="Middle">
 
325
                                        <font size="6"/>
 
326
                                </textElement>
 
327
                                <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
 
328
                        </textField>
 
329
                </band>
 
330
        </pageFooter>
 
331
        <summary>
 
332
                <band height="451" splitType="Stretch">
 
333
                        <crosstab>
 
334
                                <reportElement x="-1" y="28" width="752" height="67"/>
 
335
                                <rowGroup name="default_code" width="70" totalPosition="End">
 
336
                                        <bucket>
 
337
                                                <bucketExpression class="java.lang.String"><![CDATA[$F{default_code}]]></bucketExpression>
 
338
                                        </bucket>
 
339
                                        <crosstabRowHeader>
 
340
                                                <cellContents backcolor="#68C4CF" mode="Opaque">
 
341
                                                        <box>
 
342
                                                                <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
343
                                                        </box>
 
344
                                                        <textField>
 
345
                                                                <reportElement style="Crosstab Data Text" x="0" y="0" width="70" height="13"/>
 
346
                                                                <textElement textAlignment="Left" verticalAlignment="Middle">
 
347
                                                                        <font size="7"/>
 
348
                                                                </textElement>
 
349
                                                                <textFieldExpression class="java.lang.String"><![CDATA[$V{default_code}]]></textFieldExpression>
 
350
                                                        </textField>
 
351
                                                </cellContents>
 
352
                                        </crosstabRowHeader>
 
353
                                        <crosstabTotalRowHeader>
 
354
                                                <cellContents backcolor="#CFE3E6" mode="Opaque">
 
355
                                                        <box>
 
356
                                                                <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
357
                                                        </box>
 
358
                                                        <staticText>
 
359
                                                                <reportElement x="0" y="0" width="70" height="11"/>
 
360
                                                                <textElement textAlignment="Center" verticalAlignment="Middle">
 
361
                                                                        <font size="7"/>
 
362
                                                                </textElement>
 
363
                                                                <text><![CDATA[Total]]></text>
 
364
                                                        </staticText>
 
365
                                                </cellContents>
 
366
                                        </crosstabTotalRowHeader>
 
367
                                </rowGroup>
 
368
                                <columnGroup name="period_id" height="2" totalPosition="End">
 
369
                                        <bucket>
 
370
                                                <bucketExpression class="java.lang.Integer"><![CDATA[$F{period_id}]]></bucketExpression>
 
371
                                        </bucket>
 
372
                                        <crosstabColumnHeader>
 
373
                                                <cellContents backcolor="#68C4CF" mode="Opaque">
 
374
                                                        <box>
 
375
                                                                <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
376
                                                        </box>
 
377
                                                        <textField>
 
378
                                                                <reportElement style="Crosstab Data Text" mode="Opaque" x="0" y="0" width="50" height="2" forecolor="#59A4B6" backcolor="#59A4B6"/>
 
379
                                                                <textElement>
 
380
                                                                        <font size="2"/>
 
381
                                                                </textElement>
 
382
                                                                <textFieldExpression class="java.lang.Integer"><![CDATA[$V{period_id}]]></textFieldExpression>
 
383
                                                        </textField>
 
384
                                                </cellContents>
 
385
                                        </crosstabColumnHeader>
 
386
                                        <crosstabTotalColumnHeader>
 
387
                                                <cellContents backcolor="#407880" mode="Opaque">
 
388
                                                        <box>
 
389
                                                                <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
390
                                                        </box>
 
391
                                                        <staticText>
 
392
                                                                <reportElement x="0" y="2" width="50" height="14" forecolor="#FFFFFF"/>
 
393
                                                                <textElement textAlignment="Center" verticalAlignment="Middle">
 
394
                                                                        <font size="7"/>
 
395
                                                                </textElement>
 
396
                                                                <text><![CDATA[Total period_id]]></text>
 
397
                                                        </staticText>
 
398
                                                </cellContents>
 
399
                                        </crosstabTotalColumnHeader>
 
400
                                </columnGroup>
 
401
                                <columnGroup name="period_name" height="14" totalPosition="End">
 
402
                                        <bucket>
 
403
                                                <bucketExpression class="java.lang.String"><![CDATA[$F{period_name}]]></bucketExpression>
 
404
                                        </bucket>
 
405
                                        <crosstabColumnHeader>
 
406
                                                <cellContents backcolor="#68C4CF" mode="Opaque">
 
407
                                                        <box>
 
408
                                                                <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
409
                                                        </box>
 
410
                                                        <textField>
 
411
                                                                <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="14"/>
 
412
                                                                <textElement verticalAlignment="Middle">
 
413
                                                                        <font size="7"/>
 
414
                                                                </textElement>
 
415
                                                                <textFieldExpression class="java.lang.String"><![CDATA[$V{period_name}]]></textFieldExpression>
 
416
                                                        </textField>
 
417
                                                </cellContents>
 
418
                                        </crosstabColumnHeader>
 
419
                                        <crosstabTotalColumnHeader>
 
420
                                                <cellContents backcolor="#CFE3E6" mode="Opaque">
 
421
                                                        <box>
 
422
                                                                <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
423
                                                        </box>
 
424
                                                </cellContents>
 
425
                                        </crosstabTotalColumnHeader>
 
426
                                </columnGroup>
 
427
                                <measure name="productoMeasure" class="java.lang.Long" calculation="Sum">
 
428
                                        <measureExpression><![CDATA[$F{producto}]]></measureExpression>
 
429
                                </measure>
 
430
                                <crosstabCell width="50" height="13">
 
431
                                        <cellContents>
 
432
                                                <box>
 
433
                                                        <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
434
                                                </box>
 
435
                                                <textField pattern="#,##0.00">
 
436
                                                        <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="13"/>
 
437
                                                        <textElement textAlignment="Right">
 
438
                                                                <font size="7"/>
 
439
                                                        </textElement>
 
440
                                                        <textFieldExpression class="java.lang.Long"><![CDATA[$V{productoMeasure}]]></textFieldExpression>
 
441
                                                </textField>
 
442
                                        </cellContents>
 
443
                                </crosstabCell>
 
444
                                <crosstabCell height="11" rowTotalGroup="default_code">
 
445
                                        <cellContents backcolor="#CFE3E6" mode="Opaque">
 
446
                                                <box>
 
447
                                                        <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
448
                                                </box>
 
449
                                                <textField pattern="#,##0.00">
 
450
                                                        <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="11"/>
 
451
                                                        <textElement textAlignment="Right">
 
452
                                                                <font size="7"/>
 
453
                                                        </textElement>
 
454
                                                        <textFieldExpression class="java.lang.Long"><![CDATA[$V{productoMeasure}]]></textFieldExpression>
 
455
                                                </textField>
 
456
                                        </cellContents>
 
457
                                </crosstabCell>
 
458
                                <crosstabCell width="50" height="13" columnTotalGroup="period_id">
 
459
                                        <cellContents backcolor="#407880" mode="Opaque">
 
460
                                                <box>
 
461
                                                        <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
462
                                                </box>
 
463
                                                <textField pattern="#,##0.00">
 
464
                                                        <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="13" forecolor="#FFFFFF"/>
 
465
                                                        <textElement textAlignment="Right">
 
466
                                                                <font size="7"/>
 
467
                                                        </textElement>
 
468
                                                        <textFieldExpression class="java.lang.Long"><![CDATA[$V{productoMeasure}]]></textFieldExpression>
 
469
                                                </textField>
 
470
                                        </cellContents>
 
471
                                </crosstabCell>
 
472
                                <crosstabCell height="11" rowTotalGroup="default_code" columnTotalGroup="period_id">
 
473
                                        <cellContents backcolor="#407880" mode="Opaque">
 
474
                                                <box>
 
475
                                                        <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
476
                                                </box>
 
477
                                                <textField pattern="#,##0.00">
 
478
                                                        <reportElement style="Crosstab Data Text" x="0" y="0" width="50" height="11" forecolor="#FFFFFF"/>
 
479
                                                        <textElement>
 
480
                                                                <font size="7"/>
 
481
                                                        </textElement>
 
482
                                                        <textFieldExpression class="java.lang.Long"><![CDATA[$V{productoMeasure}]]></textFieldExpression>
 
483
                                                </textField>
 
484
                                        </cellContents>
 
485
                                </crosstabCell>
 
486
                                <crosstabCell width="0" height="13" columnTotalGroup="period_name">
 
487
                                        <cellContents backcolor="#CFE3E6" mode="Opaque">
 
488
                                                <box>
 
489
                                                        <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
490
                                                </box>
 
491
                                        </cellContents>
 
492
                                </crosstabCell>
 
493
                                <crosstabCell width="0" height="11" rowTotalGroup="default_code" columnTotalGroup="period_name">
 
494
                                        <cellContents backcolor="#CFE3E6" mode="Opaque">
 
495
                                                <box>
 
496
                                                        <pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
 
497
                                                </box>
 
498
                                        </cellContents>
 
499
                                </crosstabCell>
 
500
                        </crosstab>
 
501
                        <frame>
 
502
                                <reportElement x="-1" y="8" width="752" height="20"/>
 
503
                                <staticText>
 
504
                                        <reportElement x="2" y="0" width="750" height="20"/>
 
505
                                        <textElement textAlignment="Center" verticalAlignment="Middle"/>
 
506
                                        <text><![CDATA[Producción Mensual. ]]></text>
 
507
                                </staticText>
 
508
                        </frame>
 
509
                        <bar3DChart>
 
510
                                <chart>
 
511
                                        <reportElement x="1" y="163" width="752" height="138"/>
 
512
                                        <chartTitle>
 
513
                                                <font size="8"/>
 
514
                                        </chartTitle>
 
515
                                        <chartSubtitle>
 
516
                                                <font size="8"/>
 
517
                                        </chartSubtitle>
 
518
                                        <chartLegend>
 
519
                                                <font size="8"/>
 
520
                                        </chartLegend>
 
521
                                </chart>
 
522
                                <categoryDataset>
 
523
                                        <categorySeries>
 
524
                                                <seriesExpression><![CDATA[$F{period_name}]]></seriesExpression>
 
525
                                                <categoryExpression><![CDATA[$F{default_code}]]></categoryExpression>
 
526
                                                <valueExpression><![CDATA[$F{producto}]]></valueExpression>
 
527
                                        </categorySeries>
 
528
                                </categoryDataset>
 
529
                                <bar3DPlot>
 
530
                                        <plot/>
 
531
                                        <itemLabel color="#000000" backgroundColor="#FFFFFF">
 
532
                                                <font size="10"/>
 
533
                                        </itemLabel>
 
534
                                        <categoryAxisFormat>
 
535
                                                <axisFormat>
 
536
                                                        <labelFont>
 
537
                                                                <font size="8"/>
 
538
                                                        </labelFont>
 
539
                                                        <tickLabelFont>
 
540
                                                                <font size="8"/>
 
541
                                                        </tickLabelFont>
 
542
                                                </axisFormat>
 
543
                                        </categoryAxisFormat>
 
544
                                        <valueAxisFormat>
 
545
                                                <axisFormat>
 
546
                                                        <labelFont>
 
547
                                                                <font size="8"/>
 
548
                                                        </labelFont>
 
549
                                                        <tickLabelFont>
 
550
                                                                <font size="8"/>
 
551
                                                        </tickLabelFont>
 
552
                                                </axisFormat>
 
553
                                        </valueAxisFormat>
 
554
                                </bar3DPlot>
 
555
                        </bar3DChart>
 
556
                        <bar3DChart>
 
557
                                <chart>
 
558
                                        <reportElement x="2" y="307" width="751" height="144"/>
 
559
                                        <chartTitle>
 
560
                                                <font size="8"/>
 
561
                                        </chartTitle>
 
562
                                        <chartSubtitle>
 
563
                                                <font size="8"/>
 
564
                                        </chartSubtitle>
 
565
                                        <chartLegend>
 
566
                                                <font size="8"/>
 
567
                                        </chartLegend>
 
568
                                </chart>
 
569
                                <categoryDataset>
 
570
                                        <dataset>
 
571
                                                <datasetRun subDataset="graphs_mensual">
 
572
                                                        <datasetParameter name="location_id">
 
573
                                                                <datasetParameterExpression><![CDATA[$P{location_id}]]></datasetParameterExpression>
 
574
                                                        </datasetParameter>
 
575
                                                        <datasetParameter name="fiscalyear_id">
 
576
                                                                <datasetParameterExpression><![CDATA[$P{fiscalyear_id}]]></datasetParameterExpression>
 
577
                                                        </datasetParameter>
 
578
                                                        <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
 
579
                                                </datasetRun>
 
580
                                        </dataset>
 
581
                                        <categorySeries>
 
582
                                                <seriesExpression><![CDATA[$F{period_name}]]></seriesExpression>
 
583
                                                <categoryExpression><![CDATA[$F{period_id}]]></categoryExpression>
 
584
                                                <valueExpression><![CDATA[$F{producto}]]></valueExpression>
 
585
                                        </categorySeries>
 
586
                                </categoryDataset>
 
587
                                <bar3DPlot>
 
588
                                        <plot/>
 
589
                                        <itemLabel color="#000000" backgroundColor="#FFFFFF">
 
590
                                                <font size="10"/>
 
591
                                        </itemLabel>
 
592
                                        <categoryAxisFormat>
 
593
                                                <axisFormat>
 
594
                                                        <labelFont>
 
595
                                                                <font size="8"/>
 
596
                                                        </labelFont>
 
597
                                                        <tickLabelFont>
 
598
                                                                <font size="8"/>
 
599
                                                        </tickLabelFont>
 
600
                                                </axisFormat>
 
601
                                        </categoryAxisFormat>
 
602
                                        <valueAxisFormat>
 
603
                                                <axisFormat>
 
604
                                                        <labelFont>
 
605
                                                                <font size="8"/>
 
606
                                                        </labelFont>
 
607
                                                        <tickLabelFont>
 
608
                                                                <font size="8"/>
 
609
                                                        </tickLabelFont>
 
610
                                                </axisFormat>
 
611
                                        </valueAxisFormat>
 
612
                                </bar3DPlot>
 
613
                        </bar3DChart>
 
614
                </band>
 
615
        </summary>
 
616
</jasperReport>