<?xml version="1.0" encoding="UTF-8"?> <!-- Created with Jaspersoft Studio version 6.11.0.final using JasperReports Library version 6.11.0-0c4056ccaa4d25a5a8c45672d2f764ea3498bebb --> <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="Graficos_gastos" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="4eedbb89-b4f6-4469-9ab6-f642a1688cf7"> <property name="com.jaspersoft.studio.data.sql.tables" value=""/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="DataAdapter.xml"/> <style name="Title" forecolor="#FFFFFF" fontName="Times New Roman" fontSize="50" isBold="false" pdfFontName="Times-Bold"/> <style name="SubTitle" forecolor="#CCCCCC" fontName="Times New Roman" fontSize="18" isBold="false" pdfFontName="Times-Roman"/> <style name="Column header" forecolor="#666666" fontName="Times New Roman" fontSize="14" isBold="true"/> <style name="Detail" mode="Transparent" fontName="Times New Roman"/> <style name="Row" mode="Transparent" fontName="Times New Roman" pdfFontName="Times-Roman"> <conditionalStyle> <conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression> <style mode="Opaque" backcolor="#EEEFF0"/> </conditionalStyle> </style> <style name="Table"> <box> <pen lineWidth="1.0" lineColor="#000000"/> <topPen lineWidth="1.0" lineColor="#000000"/> <leftPen lineWidth="1.0" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineColor="#000000"/> <rightPen lineWidth="1.0" lineColor="#000000"/> </box> </style> <style name="Table_TH" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/> <leftPen lineWidth="0.5" lineColor="#000000"/> <bottomPen lineWidth="0.5" lineColor="#000000"/> <rightPen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="Table_CH" mode="Opaque" backcolor="#CACED0"> <box> <pen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/> <leftPen lineWidth="0.5" lineColor="#000000"/> <bottomPen lineWidth="0.5" lineColor="#000000"/> <rightPen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="Table_TD" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> <topPen lineWidth="0.5" lineColor="#000000"/> <leftPen lineWidth="0.5" lineColor="#000000"/> <bottomPen lineWidth="0.5" lineColor="#000000"/> <rightPen lineWidth="0.5" lineColor="#000000"/> </box> <conditionalStyle> <conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression> <style backcolor="#D8D8D8"/> </conditionalStyle> </style> <subDataset name="tableDataset" uuid="f13e6d36-5148-4ecc-bbe3-3035def80980"> <queryString> <![CDATA[]]> </queryString> </subDataset> <parameter name="Order" class="java.lang.String"> <defaultValueExpression><![CDATA[new String("")]]></defaultValueExpression> </parameter> <queryString language="SQL"> <![CDATA[select usuarios.id, usuarios.usuario from usuarios order by $P!{Order}]]> </queryString> <field name="id" class="java.lang.Integer"> <property name="com.jaspersoft.studio.field.label" value="id"/> <property name="com.jaspersoft.studio.field.tree.path" value="usuarios"/> </field> <field name="usuario" class="java.lang.String"> <property name="com.jaspersoft.studio.field.label" value="usuario"/> <property name="com.jaspersoft.studio.field.tree.path" value="usuarios"/> </field> <variable name="Variable_1" class="java.lang.String"> <variableExpression><![CDATA[CONCATENATE(TEXT($V{COLUMN_COUNT},""),".",$F{usuario})]]></variableExpression> </variable> <title> <band height="96" splitType="Stretch"> <property name="com.jaspersoft.studio.unit.height" value="px"/> <line> <reportElement x="0" y="80" width="556" height="1" uuid="806ce5df-1219-4876-ae0c-ca7405b1f246"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> </line> <staticText> <reportElement x="415" y="10" width="50" height="20" uuid="0f86baff-6386-4f3f-b3fe-2388707babe8"/> <box rightPadding="4"/> <textElement textAlignment="Right"/> <text><![CDATA[Date:]]></text> </staticText> <textField pattern="EEEEE dd MMMMM yyyy"> <reportElement x="465" y="10" width="84" height="20" uuid="bb10dbe1-0a4f-4722-9953-c163b63cf979"/> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> </textField> <image hAlign="Center"> <reportElement x="0" y="0" width="65" height="60" uuid="94883631-a913-43e2-b182-ab8d77d0181e"/> <imageExpression><![CDATA["invoice_logo.png"]]></imageExpression> </image> <textField pattern="EEEEE dd MMMMM yyyy"> <reportElement x="465" y="30" width="84" height="20" uuid="3836ce65-eca3-4cad-a6de-b1818def0a2b"/> <textFieldExpression><![CDATA["INV0001"]]></textFieldExpression> </textField> <staticText> <reportElement x="415" y="30" width="50" height="20" uuid="0b3f9342-da78-4cfa-9fc5-2301c4749678"/> <box rightPadding="4"/> <textElement textAlignment="Right"/> <text><![CDATA[Invoice #]]></text> </staticText> <staticText> <reportElement x="95" y="0" width="315" height="25" uuid="e622555d-198b-4ccd-a4a1-c59c53304058"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <textElement> <font size="19" isBold="true"/> </textElement> <text><![CDATA[Grafico de gastos de cada usuario]]></text> </staticText> </band> </title> <detail> <band height="185"> <property name="com.jaspersoft.studio.unit.height" value="px"/> <textField textAdjust="StretchHeight" isBlankWhenNull="true"> <reportElement style="Detail" positionType="Float" x="0" y="0" width="339" height="20" uuid="00b15f08-8d05-4c88-acfc-e6d2822f6f20"> <property name="com.jaspersoft.studio.spreadsheet.connectionID" value="014c73cd-a412-44c6-b3a8-d2abf2bfb4da"/> </reportElement> <textElement> <font fontName="Arial" size="15" isBold="false"/> </textElement> <textFieldExpression><![CDATA[$V{Variable_1}]]></textFieldExpression> </textField> <subreport> <reportElement x="10" y="20" width="535" height="160" uuid="51188cef-4f1f-4b2b-83c6-88e0a9fbfb2b"/> <subreportParameter name="ID_Usuario"> <subreportParameterExpression><![CDATA[$F{id}]]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression><![CDATA["Grafico.jasper"]]></subreportExpression> </subreport> <line> <reportElement x="10" y="180" width="556" height="1" uuid="fa212de6-0534-4ad4-81d1-cd5c3fb63c99"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> </line> </band> </detail> <lastPageFooter> <band height="80"> <property name="com.jaspersoft.studio.unit.height" value="px"/> <staticText> <reportElement positionType="Float" mode="Opaque" x="0" y="25" width="556" height="30" backcolor="#E6E8E9" uuid="36aa233d-4305-48e6-974a-1bbf89bb3c8f"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Serif" size="9" isItalic="true"/> </textElement> <text><![CDATA[Fin de los usuarios]]></text> </staticText> <textField> <reportElement x="521" y="67" width="35" height="13" uuid="7e1dfabf-9edf-453c-8b85-58c6682b2a6f"/> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> </textField> </band> </lastPageFooter> </jasperReport>