Changeset 544 for trunk/web-app
- Timestamp:
- May 24, 2010, 3:48:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/reports/immediateCallouts.jrxml
r542 r544 5 5 <property name="ireport.zoom" value="1.0"/> 6 6 <property name="ireport.x" value="0"/> 7 <property name="ireport.y" value="384"/> 7 <property name="ireport.y" value="218"/> 8 <import value="net.sf.jasperreports.engine.*"/> 8 9 <import value="java.util.*"/> 9 <import value="net.sf.jasperreports.engine.*"/>10 10 <import value="net.sf.jasperreports.engine.data.*"/> 11 11 <style name="Crosstab Data Text" isDefault="false" hAlign="Center"/> … … 63 63 <field name="name" class="java.lang.String"/> 64 64 <field name="immediateCalloutCount" class="java.lang.Integer"/> 65 <field name="immediateCalloutTaskList" class="java.util.List"/>66 65 <field name="downTime" class="java.lang.Integer"/> 66 <field name="tasks" class="java.lang.String"/> 67 67 <variable name="immediateCalloutSum" class="java.lang.Integer" calculation="Sum"> 68 68 <variableExpression><![CDATA[$F{immediateCalloutCount}]]></variableExpression> 69 </variable> 70 <variable name="downTimeSum" class="java.lang.Integer" calculation="Sum"> 71 <variableExpression><![CDATA[$F{downTime}]]></variableExpression> 69 72 </variable> 70 73 <group name="assetName"> … … 84 87 <field name="totalAssetsOnTasksCount" class="java.lang.String"/> 85 88 <field name="assetList" class="java.util.List"/> 89 <field name="totalDownTime" class="java.util.LinkedHashMap"/> 86 90 <background> 87 91 <band splitType="Stretch"/> … … 112 116 <detail> 113 117 <band height="394" splitType="Stretch"> 114 <componentElement>115 <reportElement key="table" style="table" x="0" y="0" width="377" height="394"/>116 <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">117 <datasetRun subDataset="dataset1">118 <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression>119 </datasetRun>120 <jr:column width="160">121 <jr:columnHeader style="table_CH" height="30" rowSpan="1">122 <textField>123 <reportElement x="0" y="0" width="160" height="30"/>124 <textElement verticalAlignment="Middle">125 <font fontName="Serif" size="12" isBold="true"/>126 </textElement>127 <textFieldExpression class="java.lang.String"><![CDATA["Asset"]]></textFieldExpression>128 </textField>129 </jr:columnHeader>130 <jr:columnFooter style="table_CF" height="30" rowSpan="1">131 <textField>132 <reportElement x="0" y="0" width="160" height="30"/>133 <textElement verticalAlignment="Middle">134 <font fontName="Serif" size="12" isBold="true"/>135 </textElement>136 <textFieldExpression class="java.lang.String"><![CDATA["Total"]]></textFieldExpression>137 </textField>138 </jr:columnFooter>139 <jr:detailCell style="table_TD" height="30" rowSpan="1">140 <textField>141 <reportElement x="0" y="0" width="160" height="30"/>142 <textElement verticalAlignment="Middle">143 <font fontName="Serif" isBold="false" isItalic="false"/>144 </textElement>145 <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression>146 </textField>147 </jr:detailCell>148 </jr:column>149 <jr:column width="55">150 <jr:columnHeader height="30" rowSpan="1">151 <textField>152 <reportElement x="0" y="0" width="55" height="30"/>153 <textElement textAlignment="Center" verticalAlignment="Middle">154 <font fontName="Serif" size="12" isBold="true"/>155 </textElement>156 <textFieldExpression class="java.lang.String"><![CDATA["Callouts"]]></textFieldExpression>157 </textField>158 </jr:columnHeader>159 <jr:columnFooter style="table_CF" height="30" rowSpan="1">160 <textField>161 <reportElement x="0" y="0" width="55" height="30"/>162 <textElement textAlignment="Center" verticalAlignment="Middle">163 <font fontName="Serif" size="12" isBold="true"/>164 </textElement>165 <textFieldExpression class="java.lang.Integer"><![CDATA[$V{immediateCalloutSum}]]></textFieldExpression>166 </textField>167 </jr:columnFooter>168 <jr:detailCell style="table_TD" height="30" rowSpan="1">169 <textField>170 <reportElement x="0" y="0" width="55" height="30"/>171 <textElement textAlignment="Center" verticalAlignment="Middle">172 <font fontName="Serif" isBold="false"/>173 </textElement>174 <textFieldExpression class="java.lang.Integer"><![CDATA[$F{immediateCalloutCount}]]></textFieldExpression>175 </textField>176 </jr:detailCell>177 </jr:column>178 <jr:column width="159">179 <jr:columnHeader style="table_CH" height="30" rowSpan="1">180 <textField>181 <reportElement x="0" y="0" width="159" height="30"/>182 <textElement verticalAlignment="Middle">183 <font fontName="Serif" size="12" isBold="true"/>184 </textElement>185 <textFieldExpression class="java.lang.String"><![CDATA["Tasks"]]></textFieldExpression>186 </textField>187 </jr:columnHeader>188 <jr:columnFooter style="table_CF" height="30" rowSpan="1"/>189 <jr:detailCell style="table_TD" height="30" rowSpan="1">190 <textField>191 <reportElement x="0" y="0" width="159" height="30"/>192 <textElement verticalAlignment="Middle">193 <font fontName="Serif" size="10" isBold="false"/>194 </textElement>195 <textFieldExpression class="java.lang.String"><![CDATA[$F{immediateCalloutTaskList}]]></textFieldExpression>196 </textField>197 </jr:detailCell>198 </jr:column>199 </jr:table>200 </componentElement>201 <pie3DChart>202 <chart>203 <reportElement x="416" y="0" width="366" height="301"/>204 <chartTitle/>205 <chartSubtitle/>206 <chartLegend/>207 </chart>208 <pieDataset>209 <dataset>210 <datasetRun subDataset="dataset1">211 <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression>212 </datasetRun>213 </dataset>214 <keyExpression><![CDATA[$F{name}]]></keyExpression>215 <valueExpression><![CDATA[$F{immediateCalloutCount}]]></valueExpression>216 </pieDataset>217 <pie3DPlot depthFactor="0.1" isCircular="false" labelFormat="{2}">218 <plot/>219 <itemLabel color="#000000" backgroundColor="#FFFFFF"/>220 </pie3DPlot>221 </pie3DChart>222 </band>223 <band height="394">224 118 <bar3DChart> 225 119 <chart> 226 <reportElement x="0" y="0" width="782" height="212"/> 227 <chartTitle/> 120 <reportElement x="0" y="0" width="782" height="394"/> 121 <chartTitle position="Bottom"> 122 <font isUnderline="false"/> 123 <titleExpression><![CDATA["Total: "+$F{totalAssetsOnTasksCount}]]></titleExpression> 124 </chartTitle> 228 125 <chartSubtitle/> 229 126 <chartLegend/> … … 258 155 </bar3DPlot> 259 156 </bar3DChart> 157 </band> 158 <band height="394"> 260 159 <bar3DChart> 261 160 <chart> 262 <reportElement x="0" y="212" width="782" height="182"/> 263 <chartTitle/> 161 <reportElement x="0" y="0" width="782" height="394"/> 162 <chartTitle position="Bottom"> 163 <font isBold="false" isUnderline="false"/> 164 <titleExpression><![CDATA["Total: "+$F{totalDownTime}.total+"min"+" ("+$F{totalDownTime}.hours+"h:"+$F{totalDownTime}.minutes+"m)"]]></titleExpression> 165 </chartTitle> 264 166 <chartSubtitle/> 265 <chartLegend/> 167 <chartLegend position="Bottom"> 168 <font isUnderline="true"/> 169 </chartLegend> 266 170 </chart> 267 171 <categoryDataset> … … 272 176 </dataset> 273 177 <categorySeries> 274 <seriesExpression><![CDATA["Down Time "]]></seriesExpression>178 <seriesExpression><![CDATA["Down Time (min)"]]></seriesExpression> 275 179 <categoryExpression><![CDATA[$F{name}]]></categoryExpression> 276 180 <valueExpression><![CDATA[$F{downTime}]]></valueExpression> … … 297 201 </bar3DChart> 298 202 </band> 203 <band height="394"> 204 <componentElement> 205 <reportElement key="table 1" style="table" x="0" y="0" width="782" height="394"/> 206 <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd"> 207 <datasetRun subDataset="dataset1"> 208 <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{assetList})]]></dataSourceExpression> 209 </datasetRun> 210 <jr:column width="774"> 211 <jr:groupHeader groupName="assetName"> 212 <jr:cell height="30" rowSpan="1"> 213 <textField> 214 <reportElement x="0" y="0" width="774" height="30"/> 215 <textElement verticalAlignment="Middle"> 216 <font size="12" isBold="true"/> 217 </textElement> 218 <textFieldExpression class="java.lang.String"><![CDATA[$F{name}]]></textFieldExpression> 219 </textField> 220 </jr:cell> 221 </jr:groupHeader> 222 <jr:detailCell style="table_TD" height="40" rowSpan="1"> 223 <textField isStretchWithOverflow="true"> 224 <reportElement x="0" y="0" width="774" height="40"/> 225 <textElement verticalAlignment="Middle"/> 226 <textFieldExpression class="java.lang.String"><![CDATA[""+$F{tasks}]]></textFieldExpression> 227 </textField> 228 </jr:detailCell> 229 </jr:column> 230 </jr:table> 231 </componentElement> 232 </band> 299 233 </detail> 300 234 <columnFooter>
Note: See TracChangeset
for help on using the changeset viewer.