[icinga-checkins] icinga.org: icinga-reports/master: Make changes in service top 10 report

git at icinga.org git at icinga.org
Wed Aug 24 10:25:26 CEST 2011


Module: icinga-reports
Branch: master
Commit: 843e9074cb56c6f17623e6b322bfc4e8705e77aa
URL:    https://git.icinga.org/?p=icinga-reports.git;a=commit;h=843e9074cb56c6f17623e6b322bfc4e8705e77aa

Author: Michael Luebben <michael_luebben at web.de>
Date:   Wed Jun  1 15:07:12 2011 +0200

Make changes in service top 10 report

---

 .../{top10.jrxml => top10ReportInGivenTime.jrxml}  |    4 ++--
 .../{top10.jrxml => top10InGivenTime.jrxml}        |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/jasperreports/templates/main/service/top10.jrxml b/jasperreports/templates/main/service/top10ReportInGivenTime.jrxml
similarity index 98%
rename from jasperreports/templates/main/service/top10.jrxml
rename to jasperreports/templates/main/service/top10ReportInGivenTime.jrxml
index 7920d3d..1e94029 100644
--- a/jasperreports/templates/main/service/top10.jrxml
+++ b/jasperreports/templates/main/service/top10ReportInGivenTime.jrxml
@@ -2,7 +2,7 @@
 <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="icinga.report.main.service.top10" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isTitleNewPage="true">
 	<property name="ireport.zoom" value="1.0"/>
 	<property name="ireport.x" value="0"/>
-	<property name="ireport.y" value="429"/>
+	<property name="ireport.y" value="428"/>
 	<template><![CDATA["repo:/Icinga/styles/IcingaStyleBase.jrtx"]]></template>
 	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
 		<defaultValueExpression><![CDATA["repo:/icinga/templates/sub/"]]></defaultValueExpression>
@@ -194,7 +194,7 @@
 					<subreportParameterExpression><![CDATA[$P{p_date_start}]]></subreportParameterExpression>
 				</subreportParameter>
 				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
-				<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "service/top10"]]></subreportExpression>
+				<subreportExpression class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR} + "service/top10InGivenTime"]]></subreportExpression>
 			</subreport>
 		</band>
 	</detail>
diff --git a/jasperreports/templates/sub/service/top10.jrxml b/jasperreports/templates/sub/service/top10InGivenTime.jrxml
similarity index 97%
rename from jasperreports/templates/sub/service/top10.jrxml
rename to jasperreports/templates/sub/service/top10InGivenTime.jrxml
index 8031ea0..bd55fc3 100644
--- a/jasperreports/templates/sub/service/top10.jrxml
+++ b/jasperreports/templates/sub/service/top10InGivenTime.jrxml
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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="icinga.report.sub.service.top10" language="groovy" pageWidth="595" pageHeight="842" columnWidth="575" leftMargin="0" rightMargin="20" topMargin="20" bottomMargin="20">
+<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="Service top 10 sub report" language="groovy" pageWidth="555" pageHeight="842" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="20" bottomMargin="0">
+	<property name="ireport.zoom" value="1.0"/>
+	<property name="ireport.x" value="0"/>
+	<property name="ireport.y" value="0"/>
 	<subDataset name="graph_warnings">
 		<parameter name="p_date_start" class="java.lang.String">
 			<defaultValueExpression><![CDATA[$P{p_date_start}]]></defaultValueExpression>





More information about the icinga-checkins mailing list