<?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="trial2" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30" isFloatColumnFooter="true">
	<property name="ireport.zoom" value="1.0" />
	<property name="ireport.x" value="0" />
	<property name="ireport.y" value="0" />
	<style name="Sans_Normal" isDefault="true" fontName="DejaVu Sans" fontSize="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" />
	<style name="Title" mode="Opaque" forecolor="#000000" backcolor="#FA2616" fontName="Andale Mono" fontSize="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" />
	<style name="Table">
		<box>
			<pen lineWidth="0.5 " lineColor="#000000" />
		</box>
	</style>
	<subDataset name="TableData">
		<field name="1" class="java.lang.String" />
	    <field name="2" class="java.lang.Number" />
    </subDataset>
	<parameter name="TableDataSource" class="net.sf.jasperreports.engine.JRDataSource" />
	<parameter name="ImagePath" class="java.lang.String" />
	<parameter name="ImageName" class="java.lang.String" />
	<parameter name="Title" class="java.lang.String" />
	<background>
		<band height="780" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="0" y="0" width="555" height="780" backcolor="#FAFAFA" />
				<textElement />
				<text />
			</staticText>
		</band>
	</background>
	<title>
		<band height="270">
		   <image scaleImage="Clip">
				<reportElement x="0" y="5" width="165" height="60"/>
				<imageExpression><![CDATA[ImageName]]></imageExpression>
				<hyperlinkTooltipExpression><![CDATA[ImageName]]></hyperlinkTooltipExpression>
			</image>
			<staticText>
				<reportElement style="Title" x="180" y="5" width="375" height="60" />
				<textElement textAlignment="Center" />
				<text>BAM Report</text>
			</staticText>
				<stackedAreaChart>
					<chart>
						<reportElement mode="Opaque" backcolor="#CCCCCC" x="0" y="80" width="555" height="175"/>
						<chartTitle>
							<titleExpression><![CDATA["Bar Chart"]]></titleExpression>
						</chartTitle>
						<chartSubtitle>
							<subtitleExpression><![CDATA["Chart Displaying Bars"]]></subtitleExpression>
						</chartSubtitle>
						<chartLegend/>
					</chart>
					<categoryDataset>
						<dataset>
						<datasetRun subDataset="TableData">
						<dataSourceExpression><![CDATA[$P{TableDataSource}]]></dataSourceExpression>
					</datasetRun>
					</dataset>
					<categorySeries>
							<seriesExpression><![CDATA["Double Freight"]]></seriesExpression>
							<categoryExpression><![CDATA[$F{1}]]></categoryExpression>
							<valueExpression><![CDATA[$F{2}]]></valueExpression>
							<labelExpression><![CDATA[]]></labelExpression>
					</categorySeries>
					</categoryDataset>
					<areaPlot>
						<plot/>
						<categoryAxisLabelExpression><![CDATA["Name"]]></categoryAxisLabelExpression>
						<categoryAxisFormat>
							<axisFormat>
								<labelFont/>
								<tickLabelFont/>
							</axisFormat>
						</categoryAxisFormat>
						<valueAxisLabelExpression><![CDATA["Amount"]]></valueAxisLabelExpression>
						<valueAxisFormat>
							<axisFormat>
								<labelFont/>
								<tickLabelFont/>
							</axisFormat>
						</valueAxisFormat>
					</areaPlot>
				</stackedAreaChart>
		</band>
	</title>
</jasperReport>

