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="ventas_mensuales1.5" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
3
<property name="ireport.zoom" value="1.5"/>
4
<property name="ireport.x" value="0"/>
5
<property name="ireport.y" value="115"/>
6
<queryString language="SQL">
7
<![CDATA[SELECT * from getInvoiceMonth()]]>
9
<field name="anio" class="java.lang.Integer"/>
10
<field name="mes" class="java.lang.String"/>
11
<field name="subtotal" class="java.lang.Double"/>
13
<band splitType="Stretch"/>
16
<band height="41" splitType="Stretch">
18
<reportElement stretchType="RelativeToBandHeight" mode="Opaque" x="0" y="0" width="752" height="41" forecolor="#FFFFFF" backcolor="#C0C0C0"/>
19
<textElement textAlignment="Center" verticalAlignment="Middle"/>
20
<text><![CDATA[Reporte de Ventas Mensuales
22
Minerales y Carbones de México S.A de C.V]]></text>
27
<band height="14" splitType="Stretch"/>
30
<band height="12" splitType="Stretch">
32
<reportElement mode="Opaque" x="0" y="0" width="144" height="12" forecolor="#FFFFFF" backcolor="#404040"/>
34
<text><![CDATA[mes]]></text>
37
<reportElement mode="Opaque" x="144" y="0" width="159" height="12" forecolor="#FFFFFF" backcolor="#404040"/>
39
<text><![CDATA[subtotal]]></text>
44
<band height="12" splitType="Stretch">
46
<textField pattern="#,##0.00">
47
<reportElement x="144" y="0" width="159" height="12"/>
49
<pen lineWidth="0.25"/>
50
<topPen lineWidth="0.25"/>
51
<leftPen lineWidth="0.25"/>
52
<bottomPen lineWidth="0.25"/>
53
<rightPen lineWidth="0.25"/>
56
<textFieldExpression class="java.lang.Double"><![CDATA[$F{subtotal}]]></textFieldExpression>
59
<reportElement x="0" y="0" width="144" height="12"/>
61
<pen lineWidth="0.25"/>
62
<topPen lineWidth="0.25"/>
63
<leftPen lineWidth="0.25"/>
64
<bottomPen lineWidth="0.25"/>
65
<rightPen lineWidth="0.25"/>
68
<textFieldExpression class="java.lang.String"><![CDATA[$F{mes}]]></textFieldExpression>
74
<band splitType="Stretch"/>
77
<band height="12" splitType="Stretch"/>
83
<band height="164" splitType="Stretch">
86
<reportElement x="0" y="0" width="752" height="164"/>
93
<seriesExpression><![CDATA["Ventas Mensuales"]]></seriesExpression>
94
<categoryExpression><![CDATA[$F{mes}]]></categoryExpression>
95
<valueExpression><![CDATA[$F{subtotal}]]></valueExpression>
100
<itemLabel color="#000000" backgroundColor="#FFFFFF"/>
106
</categoryAxisFormat>