<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
    <property name="createdBy">Eclipse BIRT Designer Version 4.8.0.v201806261756</property>
    <list-property name="userProperties">
        <structure>
            <property name="name">MailingSummaryDataCube.MailingSummaryDataSet.x</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">MailingSummaryDataCube.MailingSummaryDataSet.y</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">MailingSummaryDayDataCube.MailingSummaryDayDataSet.x</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
        <structure>
            <property name="name">MailingSummaryDayDataCube.MailingSummaryDayDataSet.y</property>
            <property name="type">integer</property>
            <property name="isVisible">false</property>
        </structure>
    </list-property>
    <property name="MailingSummaryDataCube.MailingSummaryDataSet.x">135</property>
    <property name="MailingSummaryDataCube.MailingSummaryDataSet.y">80</property>
    <property name="MailingSummaryDayDataCube.MailingSummaryDayDataSet.x">135</property>
    <property name="MailingSummaryDayDataCube.MailingSummaryDayDataSet.y">80</property>
    <simple-property-list name="includeResource">
        <value>WEB-INF/classes/messages</value>
    </simple-property-list>
    <property name="units">in</property>
    <method name="initialize"><![CDATA[importPackage(Packages.com.agnitas.reporting.birt.external.dataset);
importPackage(Packages.com.agnitas.reporting.birt.external.utils);
importPackage(Packages.org.eclipse.birt.report.model.api.util);
importPackage(org.eclipse.birt.chart.model.attribute.impl);
importPackage(Packages.com.agnitas.messages);
importPackage(Packages.org.apache.commons.lang);

reportContext.setGlobalVariable("isDarkmode", params["darkmode"]);

if(reportContext.getOutputFormat() == "pdf" || reportContext.getOutputFormat() == "csv") {
	reportContext.setPersistentGlobalVariable("showNet", new Boolean(true));
	reportContext.setPersistentGlobalVariable("showGross", new Boolean(true));
} else {
	reportContext.setPersistentGlobalVariable("showNet", new Boolean(params["showNet"] == true));
	reportContext.setPersistentGlobalVariable("showGross", new Boolean(params["showGross"] == true));
}

var periodExists;

if ((params["startDate"] != null) &amp;&amp; (params["startDate"] != "")) {
    periodExists = "true";
} else {
    periodExists = "false";
}

selectedTargets = null;
if(params["selectedTargets"] != null )
{
	selectedTargets = params["selectedTargets"].value
}

mailingSummaryDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.MailingSummaryDataSet();

if(params["optimizationID"] != 0) {
	tempTableID = mailingSummaryDataSet.prepareReportOptimization(params["optimizationID"], 
		params["companyID"], 
		selectedTargets, 
		params["recipientType"], 
		params["showSoftbounces"],
		params["startDate"], 
		params["stopDate"], 
		params["hourScale"]);
		
	reportContext.setPersistentGlobalVariable("isAutoOptimization", new Boolean(true));
} else {
	tempTableID = mailingSummaryDataSet.prepareReport(params["mailingID"],
		params["companyID"],
		selectedTargets,
		params["recipientType"],
		params["showSoftbounces"],
		params["startDate"],
		params["stopDate"],
		params["hourScale"]);
		
	reportContext.setPersistentGlobalVariable("isAutoOptimization", new Boolean(false));
}

reportContext.setGlobalVariable("tempTableID", tempTableID);
reportContext.setPersistentGlobalVariable("trackingExists", new Boolean(true));

if(params["trackingAllowed"].value &amp;&amp; params["selectedTargets"] != null &amp;&amp; params["selectedTargets"] != "") {
  trackingExists = mailingSummaryDataSet.isTrackingExists(params["mailingID"], params["companyID"]);
  reportContext.setPersistentGlobalVariable("trackingExists", new Boolean(trackingExists));
}

if (params["selectedTargets"] != null &amp;&amp; params["selectedTargets"] != "") {
	//reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("OpeningsChart").drop();
	//reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("ClickingChart").drop();
}

// show the report parameters tab only in for pdf
if(reportContext.getOutputFormat()!="pdf") {
	reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("reportParameters").drop();
}

// handle csv-Export
if(reportContext.getOutputFormat() != "csv" ) {
	reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("csvData").drop();
}

if(reportContext.getOutputFormat() == "csv" ) {
	reportContext.getReportRunnable().designHandle.getDesignHandle().findElement("standardElements").drop();
}

mailingSummaryDataDefinition = {};
mailingSummaryDataDefinition[CommonKeys.RECIPIENTS_NUMBER] 			= {"position": 1, "color": "color-pure-blue"};
mailingSummaryDataDefinition[CommonKeys.DELIVERED_EMAILS] 			= {"position": 2, "color": "color-blue"};
mailingSummaryDataDefinition[CommonKeys.DELIVERED_EMAILS_DELIVERED] = {"position": 3, "color": "color-dark-blue", "successExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.OPENERS_MEASURED] 			= {"position": 4, "color": "color-light-green", "translationKey": "report.opens.measured", "onepixelExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.OPENERS_PROXY] 			    = {"position": 5, "translationKey": "statistic.opener.proxy"};
mailingSummaryDataDefinition[CommonKeys.OPENERS_INVISIBLE] 			= {"position": 6, "color": "color-middle-green", "translationKey": "report.opens.invisible", "onepixelExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.OPENERS_TOTAL] 				= {"position": 7, "color": "color-dark-green", "onepixelExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.OPENINGS_ANONYMOUS] 		= {"position": 8, "color": "color-light-grey", "hasNoPercentageRepresentation": true, "onepixelExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.CLICKER] 					= {"position": 9, "color": "color-petrol", "onepixelExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.CLICKS_ANONYMOUS] 			= {"position": 10, "color": "color-light-grey", "hasNoPercentageRepresentation": true, "onepixelExpirationCheck": true};
mailingSummaryDataDefinition[CommonKeys.OPT_OUTS] 					= {"position": 11, "color": "color-red"};
mailingSummaryDataDefinition[CommonKeys.SOFT_BOUNCES] 				= {"position": 12, "color": "color-vivid-orange"};
mailingSummaryDataDefinition[CommonKeys.HARD_BOUNCES] 				= {"position": 13, "color": "color-orange"};
mailingSummaryDataDefinition[CommonKeys.SOFT_BOUNCES_UNDELIVERABLE] = {"position": 14, "color": "color-yellow"};
mailingSummaryDataDefinition[CommonKeys.REVENUE] 					= {"position": 15, "color": "color-vivid-orange", "hasNoPercentageRepresentation": true};
mailingSummaryDataDefinition[CommonKeys.OPENERS_PC_AND_MOBILE] 		= {"translationKey": "report.opens.pc.and.mobileWithNote"};
mailingSummaryDataDefinition[CommonKeys.CLICKER_PC_AND_MOBILE] 		= {"translationKey": "statistic.clicker.multiple"};

// percentage representation
function hasPercentageRepresentation(categoryKey) {
	if (mailingSummaryDataDefinition[categoryKey] &amp;&amp; mailingSummaryDataDefinition[categoryKey]["hasNoPercentageRepresentation"]) {
		return !mailingSummaryDataDefinition[categoryKey]["hasNoPercentageRepresentation"];
	}
	return true;
}

// position
function getKeyFiguresRowPosition(categoryKey, categoryIndex) {
	if (mailingSummaryDataDefinition[categoryKey] &amp;&amp; mailingSummaryDataDefinition[categoryKey]["position"]) {
		return parseInt(mailingSummaryDataDefinition[categoryKey]["position"]);
	}
	return parseInt(1000000 + categoryIndex);  // Bump to the end
};

// color
function getColorDefinition(styleName) {
	var color = ColorUtil.format(reportContext.getDesignHandle().findStyle(styleName).getColor().getRGB(), ColorUtil.HTML_FORMAT);
	var red = "0x"+color.substr(1,2);
	var green =  "0x"+color.substr(3,2);
	var blue =  "0x"+color.substr(5,2);
	
	return ColorDefinitionImpl.create(red, green, blue);
};


function isDataDefinitionContainsColor(categoryKey) {
	return mailingSummaryDataDefinition[categoryKey] &amp;&amp; mailingSummaryDataDefinition[categoryKey]["color"]
};

function getColorByCategory(categoryKey) {
	if (isDataDefinitionContainsColor(categoryKey)) {
		return getColorDefinition(mailingSummaryDataDefinition[categoryKey]["color"]);
	}
	return getColorDefinition("color-blue");
};

// translation
function getTranslation(translationKey) {
	return I18nString.getLocaleString(translationKey, reportContext.getLocale());
};

function isDataDefinitionContainsTranslation(categoryKey) {
	return mailingSummaryDataDefinition[categoryKey] &amp;&amp; mailingSummaryDataDefinition[categoryKey]["translationKey"]
};

function getTranslationByCategory(categoryKey) {
	if (isDataDefinitionContainsTranslation(categoryKey)) {
		return getTranslation(mailingSummaryDataDefinition[categoryKey]["translationKey"]);
	}
	return getTranslation(categoryKey)
};
  
if(periodExists == "true") {
  successStatisticExpired = ExpirationUtils.isDateOlderThenDays(params["startDate"], params["successExpirePeriod"]);
  onepixelStatisticExpired = ExpirationUtils.isDateOlderThenDays(params["startDate"], params["onepixelExpirePeriod"]);
} else {
  successStatisticExpired = false;
  onepixelStatisticExpired = false;
}

function needSuccessExpirationCheck(categoryKey) {
	return mailingSummaryDataDefinition[categoryKey] &amp;&amp; mailingSummaryDataDefinition[categoryKey]["successExpirationCheck"] == true;
}

function needOnepixelExpirationCheck(categoryKey) {
	return mailingSummaryDataDefinition[categoryKey] &amp;&amp; mailingSummaryDataDefinition[categoryKey]["onepixelExpirationCheck"] == true;
}

function isCategoryDataExpired(categoryKey) {
	return (successStatisticExpired &amp;&amp; needSuccessExpirationCheck(categoryKey)) || 
		(onepixelStatisticExpired &amp;&amp; needOnepixelExpirationCheck(categoryKey));
}

function getMinimalExpirationPeriod() {
	return params["successExpirePeriod"] < params["onepixelExpirePeriod"] ? params["successExpirePeriod"] : params["onepixelExpirePeriod"];
}

reportContext.setGlobalVariable("mailingSummaryDataDefinition", mailingSummaryDataDefinition);
reportContext.setGlobalVariable("hasPercentageRepresentationFunction", hasPercentageRepresentation);
reportContext.setGlobalVariable("getKeyFiguresRowPositionFunction", getKeyFiguresRowPosition);
reportContext.setGlobalVariable("isDataDefinitionContainsColorFunction", isDataDefinitionContainsColor);
reportContext.setGlobalVariable("getColorByCategoryFunction", getColorByCategory);
reportContext.setGlobalVariable("getTranslationFunction", getTranslation);
reportContext.setGlobalVariable("isDataDefinitionContainsTranslationFunction", isDataDefinitionContainsTranslation);
reportContext.setGlobalVariable("getTranslationByCategoryFunction", getTranslationByCategory);
reportContext.setGlobalVariable("isCategoryDataExpired", isCategoryDataExpired);

]]></method>
    <method name="beforeRender"><![CDATA[var tableStyle = reportContext.getGlobalVariable("isDarkmode") == true ? 'table table-dark-theme table-striped' : 'table table-striped';

reportContext.getDesignHandle().findElement("GeneralTbl").setProperty("style", tableStyle);
reportContext.getDesignHandle().findElement("SummaryData").setProperty("style", tableStyle);
reportContext.getDesignHandle().findElement("SummaryDataDelivered").setProperty("style", tableStyle);
reportContext.getDesignHandle().findElement("DeviceTypeTbl").setProperty("style", tableStyle);
reportContext.getDesignHandle().findElement("AutoOptTbl").setProperty("style", tableStyle);
reportContext.getDesignHandle().findElement("ResponseTbl").setProperty("style", tableStyle);
]]></method>
    <method name="afterRender"><![CDATA[mailingSummaryDataSet.dropTempTable(reportContext.getPersistentGlobalVariable("tempTableID"));
]]></method>
    <property name="iconFile">/templates/blank_report.gif</property>
    <property name="layoutPreference">auto layout</property>
    <property name="bidiLayoutOrientation">ltr</property>
    <list-property name="cssStyleSheets">
        <structure>
            <property name="fileName">styles.css</property>
            <property name="useExternalCss">false</property>
        </structure>
        <structure>
            <property name="useExternalCss">true</property>
            <property name="externalCssURI">/birt/webcontent/birt/styles/redesign_style.css</property>
        </structure>
    </list-property>
    <parameters>
        <scalar-parameter name="companyID" id="129">
            <property name="valueType">static</property>
            <property name="dataType">integer</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">463</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="mailingID" id="131">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">integer</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">68301</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="language" id="134">
            <property name="valueType">static</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">DE</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="selectedTargets" id="417">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="emmsession" id="100">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">;jsessionid=12345</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="targetbaseurl" id="101">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">http://localhost:8080/css</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="recipientType" id="698">
            <property name="valueType">static</property>
            <property name="isRequired">true</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">ALL_SUBSCRIBERS</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">></property>
                <property name="pattern">></property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="trackingAllowed" id="742">
            <property name="valueType">static</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="optimizationID" id="835">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">integer</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">0</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="isAlowedDeeptracking" id="958">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">false</value>
            </simple-property-list>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="showSoftbounces" id="969">
            <property name="valueType">static</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="startDate" id="993">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant"></value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="stopDate" id="994">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">string</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant"></value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="hourScale" id="995">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">False</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="showNet" id="1085">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">False</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="showGross" id="1086">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">true</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="darkmode" id="1132">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">boolean</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">false</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">check-box</property>
            <structure name="format"/>
        </scalar-parameter>
        <scalar-parameter name="successExpirePeriod" id="1133">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">integer</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">180</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
        <scalar-parameter name="onepixelExpirePeriod" id="1134">
            <property name="valueType">static</property>
            <property name="isRequired">false</property>
            <property name="dataType">integer</property>
            <property name="distinct">true</property>
            <simple-property-list name="defaultValue">
                <value type="constant">1100</value>
            </simple-property-list>
            <list-property name="selectionList"/>
            <property name="paramType">simple</property>
            <property name="controlType">text-box</property>
            <structure name="format">
                <property name="category">Unformatted</property>
            </structure>
        </scalar-parameter>
    </parameters>
    <data-sources>
        <script-data-source name="DummyDataSource" id="7"/>
    </data-sources>
    <data-sets>
        <script-data-set name="TargetDescriptionDataset" id="195">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">0</property>
                    <property name="name">shortname</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">shortname</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">shortname</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">DummyDataSource</property>
            <method name="open"><![CDATA[targetDescriptionDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.TargetDescriptionDataSet();
targetID = null;
if (params["targetID"].value != null &amp;&amp; params["targetID"].value != "0"){
	targetID = params["targetID"];
}

valueList = targetDescriptionDataSet.getTargetDescription (targetID,  params["language"]);
currentrow = 0;
]]></method>
            <method name="fetch"><![CDATA[if( currentrow < valueList.size() ) {
	row["shortname"] = valueList.get(currentrow);
	currentrow++;
	return true;
}
return false;]]></method>
        </script-data-set>
        <script-data-set name="CompanyDescriptionDataSet" id="248">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">1</property>
                    <property name="name">name</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">name</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">name</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">DummyDataSource</property>
            <method name="open"><![CDATA[companyDescriptionDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.CompanyDescriptionDataSet();
valueList = companyDescriptionDataSet.getCompanyDescription (params["companyID"]);
currentrow = 0;]]></method>
            <method name="fetch"><![CDATA[if( currentrow < valueList.size() ) {
	row["name"] = valueList.get(currentrow);
	currentrow++;
	return true;
}
return false;]]></method>
        </script-data-set>
        <script-data-set name="MailingDataSet" id="280">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">1</property>
                    <property name="name">mailingName</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">subject</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">numMails</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">startSending</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">stopSending</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">mailformat</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">averageMailsize</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">8</property>
                    <property name="name">anonymousUsers</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">9</property>
                    <property name="name">isMailTrackingAvailable</property>
                    <property name="dataType">boolean</property>
                </structure>
                <structure>
                    <property name="position">10</property>
                    <property name="name">evaluationPeriod</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">11</property>
                    <property name="name">dispatchTime</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">mailingName</property>
                </structure>
                <structure>
                    <property name="columnName">subject</property>
                </structure>
                <structure>
                    <property name="columnName">numMails</property>
                </structure>
                <structure>
                    <property name="columnName">startSending</property>
                </structure>
                <structure>
                    <property name="columnName">stopSending</property>
                </structure>
                <structure>
                    <property name="columnName">mailformat</property>
                </structure>
                <structure>
                    <property name="columnName">averageMailsize</property>
                </structure>
                <structure>
                    <property name="columnName">anonymousUsers</property>
                </structure>
                <structure>
                    <property name="columnName">isMailTrackingAvailable</property>
                </structure>
                <structure>
                    <property name="columnName">evaluationPeriod</property>
                </structure>
                <structure>
                    <property name="columnName">dispatchTime</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">mailingName</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">subject</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">numMails</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">startSending</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">stopSending</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">mailformat</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">averageMailsize</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">8</property>
                        <property name="name">anonymousUsers</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">9</property>
                        <property name="name">isMailTrackingAvailable</property>
                        <property name="dataType">boolean</property>
                    </structure>
                    <structure>
                        <property name="position">10</property>
                        <property name="name">evaluationPeriod</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">11</property>
                        <property name="name">dispatchTime</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">DummyDataSource</property>
            <method name="open"><![CDATA[mailingDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.MailingDataSet();
statList = mailingDataSet.getData(params["mailingID"], params["companyID"], params["language"], params["startDate"], params["stopDate"], params["hourScale"]);
done = false;]]></method>
            <method name="fetch"><![CDATA[if( !done ) {
	row["mailingName"] = statList.get(0).getMailingName();
	row["subject"] = statList.get(0).getSubject();
	row["numMails"] = statList.get(0).getNumMails();
	row["isMailTrackingAvailable"] = statList.get(0).isMailTrackingAvailable();
	row["anonymousUsers"] = statList.get(0).getNumberOfAnonymousUsers();
	row["startSending"] = statList.get(0).getStartSending();
	row["stopSending"] = statList.get(0).getStopSending();
	row["mailformat"] = statList.get(0).getMailFormat();
	row["averageMailsize"] = statList.get(0).getAverageMailsize();
	row["evaluationPeriod"] = statList.get(0).getEvaluationPeriod();
	row["dispatchTime"] = statList.get(0).getDispatchTime();

	done = true;
	return true;
}
return false;]]></method>
        </script-data-set>
        <script-data-set name="MailingSummaryDataSet" id="644">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">1</property>
                    <property name="name">category</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">category_index</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">targetgroup</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">targetgroup_index</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">value</property>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">rate</property>
                    <property name="dataType">float</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">value_string</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">8</property>
                    <property name="name">deliveredRate</property>
                    <property name="dataType">float</property>
                </structure>
                <structure>
                    <property name="position">9</property>
                    <property name="name">categoryKey</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">10</property>
                    <property name="name">partial_value</property>
                    <property name="dataType">integer</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">category</property>
                </structure>
                <structure>
                    <property name="columnName">category_index</property>
                </structure>
                <structure>
                    <property name="columnName">targetgroup</property>
                </structure>
                <structure>
                    <property name="columnName">targetgroup_index</property>
                </structure>
                <structure>
                    <property name="columnName">value</property>
                </structure>
                <structure>
                    <property name="columnName">rate</property>
                </structure>
                <structure>
                    <property name="columnName">value_string</property>
                </structure>
                <structure>
                    <property name="columnName">deliveredRate</property>
                </structure>
                <structure>
                    <property name="columnName">categoryKey</property>
                </structure>
                <structure>
                    <property name="columnName">partial_value</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">category</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">category_index</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">targetgroup</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">targetgroup_index</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">value</property>
                        <property name="dataType">integer</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">rate</property>
                        <property name="dataType">float</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">value_string</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">8</property>
                        <property name="name">deliveredRate</property>
                        <property name="dataType">float</property>
                    </structure>
                    <structure>
                        <property name="position">9</property>
                        <property name="name">categoryKey</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">10</property>
                        <property name="name">partial_value</property>
                        <property name="dataType">integer</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">DummyDataSource</property>
            <method name="open"><![CDATA[importPackage(Packages.com.agnitas.reporting.birt.external.dataset);
mailingSummaryDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.MailingSummaryDataSet();
mailingSummaryData = mailingSummaryDataSet.getSummaryData(parseInt(reportContext.getGlobalVariable("tempTableID")));
currentrow = 0;

max = 0;
for (i = 0; i < mailingSummaryData.size(); i++) {
	categoryIndex = mailingSummaryData.get(i).getCategoryindex();
	value = mailingSummaryData.get(i).getCount();
	if (categoryIndex == CommonKeys.REVENUE_INDEX) {
	    value = value / 100;
	}

	if (categoryIndex <= CommonKeys.REVENUE_INDEX &amp;&amp; value > max) {
		max = value;
	}
}

reportContext.setGlobalVariable("maxValue", parseInt(max));
reportContext.setGlobalVariable("total_sent", parseInt(0));
reportContext.setGlobalVariable("total_delivered", parseInt(0));]]></method>
            <method name="fetch"><![CDATA[importPackage(Packages.com.agnitas.messages);
importPackage(Packages.com.agnitas.reporting.birt.external.dataset);

if( currentrow >= mailingSummaryData.size() ) {
	return false;
}
currentRowData = mailingSummaryData.get(currentrow);

row["categoryKey"] = currentRowData.getCategory();
switch (currentRowData.getCategoryindex()) {
	case CommonKeys.CLICKER_PC_AND_MOBILE_INDEX:
		row["category"] = getTranslation("statistic.clicker.multiple");
		break;
	case CommonKeys.OPENERS_PC_AND_MOBILE_INDEX:
		row["category"] = getTranslation("report.opens.pc.and.mobileWithNote");
		break;
	case CommonKeys.OPENERS_INVISIBLE_INDEX:
		row["category"] = getTranslation("report.opens.invisible");
		break;
	case CommonKeys.OPENERS_MEASURED_INDEX:
		row["category"] = getTranslation("report.opens.measured");
		break;
    case CommonKeys.OPENERS_PROXY_INDEX:
        row["category"] = getTranslation("statistic.opener.proxy");
        break;
	default:
		row["category"] = getTranslation(currentRowData.getCategory());
		break;
}

row["category_index"] = currentRowData.getCategoryindex();

// do some i18n stuff
if( currentRowData.getTargetgroupindex() == 1) {
	row["targetgroup"] = getTranslation("statistic.all_subscribers");
	if (currentRowData.getCategoryindex() == CommonKeys.DELIVERED_EMAILS_INDEX) {
		total_sent = parseInt(reportContext.getGlobalVariable("total_sent"));
		reportContext.setGlobalVariable("total_sent", total_sent + parseInt(currentRowData.getCount()));
	}
	if (currentRowData.getCategoryindex() == CommonKeys.DELIVERED_EMAILS_DELIVERED_INDEX) {
		total_delivered = parseInt(reportContext.getGlobalVariable("total_delivered"));
		reportContext.setGlobalVariable("total_delivered", total_delivered + parseInt(currentRowData.getCount()));
	}
}
else {
	row["targetgroup"] = currentRowData.getTargetgroup();
}


row["targetgroup_index"] = currentRowData.getTargetgroupindex();
row["value"] = currentRowData.getCount();
row["partial_value"] = currentRowData.getPartialCount();
row["rate"] = currentRowData.getRate();
if (row["rate"] == -1) {
    row["rate"] = 0;
}
row["deliveredRate"] = currentRowData.getDeliveredRate();
if (row["deliveredRate"] == -1) {
    row["deliveredRate"] = 0;
}

currentrow++;
return true;]]></method>
            <method name="close"><![CDATA[mailingSummaryClass = null;
mailingSummaryData = null;]]></method>
        </script-data-set>
        <script-data-set name="TargetsDataSet" id="699">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">0</property>
                    <property name="name">TARGET</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">TARGET</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">TARGET</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">DummyDataSource</property>
            <method name="open"><![CDATA[targetsDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.MailingDataSet();
targetsList = targetsDataSet.getTargets(params["mailingID"], params["companyID"]);
currentrow = 0;]]></method>
            <method name="fetch"><![CDATA[if( currentrow < targetsList.size() ) {
	if( targetsList.get(currentrow) == "All_Subscribers" ){
		row["TARGET"] = Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.all_subscribers", reportContext.getLocale());
	}

	else {
		row["TARGET"] = targetsList.get(currentrow);
	}

 	currentrow++;
	return true;
}

return false;

	]]></method>
        </script-data-set>
        <script-data-set name="AutoOptimizationDataSet" id="836">
            <list-property name="resultSetHints">
                <structure>
                    <property name="position">1</property>
                    <property name="name">autoOptimizationName</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">2</property>
                    <property name="name">testGroup1</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">3</property>
                    <property name="name">testGroup2</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">4</property>
                    <property name="name">testGroup3</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">5</property>
                    <property name="name">testGroup4</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">6</property>
                    <property name="name">testGroup5</property>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="position">7</property>
                    <property name="name">resultMailing</property>
                    <property name="dataType">string</property>
                </structure>
            </list-property>
            <list-property name="columnHints">
                <structure>
                    <property name="columnName">autoOptimizationName</property>
                </structure>
                <structure>
                    <property name="columnName">testGroup1</property>
                </structure>
                <structure>
                    <property name="columnName">testGroup2</property>
                </structure>
                <structure>
                    <property name="columnName">testGroup3</property>
                </structure>
                <structure>
                    <property name="columnName">testGroup4</property>
                </structure>
                <structure>
                    <property name="columnName">testGroup5</property>
                </structure>
                <structure>
                    <property name="columnName">resultMailing</property>
                </structure>
            </list-property>
            <structure name="cachedMetaData">
                <list-property name="resultSet">
                    <structure>
                        <property name="position">1</property>
                        <property name="name">autoOptimizationName</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">2</property>
                        <property name="name">testGroup1</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">3</property>
                        <property name="name">testGroup2</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">4</property>
                        <property name="name">testGroup3</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">5</property>
                        <property name="name">testGroup4</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">6</property>
                        <property name="name">testGroup5</property>
                        <property name="dataType">string</property>
                    </structure>
                    <structure>
                        <property name="position">7</property>
                        <property name="name">resultMailing</property>
                        <property name="dataType">string</property>
                    </structure>
                </list-property>
            </structure>
            <property name="dataSource">DummyDataSource</property>
            <method name="open"><![CDATA[autoOptimizationDataSet = new Packages.com.agnitas.reporting.birt.external.dataset.AutoOptimizationDataSet();

autoOptimization = autoOptimizationDataSet.getData(params["optimizationID"],params["companyID"]);

done = false;]]></method>
            <method name="fetch"><![CDATA[if( !done ) {
	row["autoOptimizationName"] = autoOptimization.getAutoOptimizationName();
	row["testGroup1"] = autoOptimization.getTestGroup1();
	row["testGroup2"] = autoOptimization.getTestGroup2();
	row["testGroup3"] = autoOptimization.getTestGroup3();
	row["testGroup4"] = autoOptimization.getTestGroup4();
	row["testGroup5"] = autoOptimization.getTestGroup5();
	row["resultMailing"] = autoOptimization.getResultMailing();

	done = true;
	return true;
}
return false;]]></method>
        </script-data-set>
    </data-sets>
    <cubes>
        <tabular-cube name="MailingSummaryDataCube" id="648">
            <property name="dimensions">
                <tabular-dimension name="CategoryGroup" id="649">
                    <property name="defaultHierarchy">NewTabularHierarchy</property>
                    <property name="hierarchies">
                        <tabular-hierarchy name="NewTabularHierarchy" id="650">
                            <property name="levels">
                                <tabular-level name="category" id="651">
                                    <property name="dataType">string</property>
                                    <property name="levelType">dynamic</property>
                                    <list-property name="attributes">
                                        <structure>
                                            <property name="name">category_index</property>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">category</property>
                                            <property name="dataType">string</property>
                                        </structure>
                                        <structure>
                                            <property name="name">categoryKey</property>
                                            <property name="dataType">string</property>
                                        </structure>
                                    </list-property>
                                    <property name="columnName">category_index</property>
                                </tabular-level>
                            </property>
                        </tabular-hierarchy>
                    </property>
                </tabular-dimension>
                <tabular-dimension name="TargetgroupGroup" id="653">
                    <property name="defaultHierarchy">NewTabularHierarchy1</property>
                    <property name="hierarchies">
                        <tabular-hierarchy name="NewTabularHierarchy1" id="654">
                            <property name="levels">
                                <tabular-level name="targetgroup" id="655">
                                    <property name="dataType">string</property>
                                    <property name="levelType">dynamic</property>
                                    <list-property name="attributes">
                                        <structure>
                                            <property name="name">targetgroup_index</property>
                                            <property name="dataType">integer</property>
                                        </structure>
                                    </list-property>
                                    <property name="columnName">targetgroup</property>
                                </tabular-level>
                            </property>
                        </tabular-hierarchy>
                    </property>
                </tabular-dimension>
            </property>
            <property name="measureGroups">
                <tabular-measure-group name="Summary Field" id="658">
                    <property name="measures">
                        <tabular-measure name="value" id="659">
                            <expression name="measureExpression">dataSetRow["value"]</expression>
                            <property name="dataType">integer</property>
                        </tabular-measure>
                        <tabular-measure name="rate" id="660">
                            <property name="function">sum</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["rate"]</expression>
                            <property name="dataType">float</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                        <tabular-measure name="value_string" id="1042">
                            <property name="function">first</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["value_string"]</expression>
                            <property name="dataType">string</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                        <tabular-measure name="deliveredRate" id="1113">
                            <property name="function">sum</property>
                            <property name="isCalculated">false</property>
                            <expression name="measureExpression" type="javascript">dataSetRow["deliveredRate"]</expression>
                            <property name="dataType">float</property>
                            <property name="isVisible">true</property>
                        </tabular-measure>
                    </property>
                </tabular-measure-group>
            </property>
            <property name="dataSet">MailingSummaryDataSet</property>
        </tabular-cube>
    </cubes>
    <page-setup>
        <simple-master-page name="Simple MasterPage" id="2">
            <property name="type">a4</property>
            <property name="orientation">landscape</property>
            <property name="topMargin">0.25in</property>
            <property name="leftMargin">0.25in</property>
            <property name="bottomMargin">0.25in</property>
            <property name="rightMargin">0.25in</property>
        </simple-master-page>
    </page-setup>
    <body>
        <grid name="reportParameters" id="145">
            <property name="style">parameterstext</property>
            <property name="height">3.1354166666666665in</property>
            <property name="width">5.145833333333333in</property>
            <column id="146">
                <property name="width">2.1666666666666665in</property>
            </column>
            <column id="147">
                <property name="width">2.9791666666666665in</property>
            </column>
            <row id="148">
                <cell id="149">
                    <text-data id="163">
                        <property name="style">parametersheadline</property>
                        <property name="fontWeight">bold</property>
                        <property name="color">#000000</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.parameters", reportContext.getLocale())</expression>
                    </text-data>
                </cell>
                <cell id="150"/>
            </row>
            <row id="244">
                <cell id="245">
                    <text-data id="253">
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("settings.Company", reportContext.getLocale())</expression>
                    </text-data>
                </cell>
                <cell id="246">
                    <data id="249">
                        <property name="dataSet">CompanyDescriptionDataSet</property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">name</property>
                                <text-property name="displayName">name</text-property>
                                <expression name="expression">dataSetRow["name"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="resultSetColumn">name</property>
                    </data>
                </cell>
            </row>
            <row id="687">
                <cell id="688">
                    <text-data id="690">
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("settings.fieldType.DATE", reportContext.getLocale())</expression>
                    </text-data>
                </cell>
                <cell id="689">
                    <text-data id="697">
                        <expression name="valueExpr" type="javascript">new Date()</expression>
                        <property name="contentType">html</property>
                    </text-data>
                </cell>
            </row>
        </grid>
        <grid name="standardElements" id="629">
            <property name="style">block-table</property>
            <property name="fontFamily">serif</property>
            <property name="width">100%</property>
            <property name="dataSet">MailingDataSet</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">mailingName</property>
                    <expression name="expression" type="javascript">dataSetRow["mailingName"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">subject</property>
                    <expression name="expression" type="javascript">dataSetRow["subject"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">startSending</property>
                    <expression name="expression" type="javascript">dataSetRow["startSending"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">stopSending</property>
                    <expression name="expression" type="javascript">dataSetRow["stopSending"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">mailformat</property>
                    <expression name="expression" type="javascript">dataSetRow["mailformat"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">averageMailsize</property>
                    <expression name="expression" type="javascript">dataSetRow["averageMailsize"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">numMails</property>
                    <expression name="expression" type="javascript">dataSetRow["numMails"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">Column Binding</property>
                    <expression name="expression" type="javascript">dataSetRow["averageMailsize"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">Column Binding_1</property>
                    <text-property name="displayName">dataSetRow["numMails"]</text-property>
                    <expression name="expression" type="javascript">dataSetRow["numMails"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">anonymousUsers</property>
                    <expression name="expression" type="javascript">dataSetRow["anonymousUsers"]</expression>
                    <property name="dataType">integer</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">isMailTrackingAvailable</property>
                    <expression name="expression" type="javascript">dataSetRow["isMailTrackingAvailable"]</expression>
                    <property name="dataType">boolean</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">evaluationPeriod</property>
                    <expression name="expression" type="javascript">dataSetRow["evaluationPeriod"]</expression>
                    <property name="dataType">string</property>
                    <property name="allowExport">true</property>
                </structure>
                <structure>
                    <property name="name">dispatchTime</property>
                    <expression name="expression" type="javascript">dataSetRow["dispatchTime"]</expression>
                    <property name="dataType">string</property>
                    <property name="allowExport">true</property>
                </structure>
            </list-property>
            <column id="630"/>
            <column id="631"/>
            <row id="632">
                <list-property name="visibility">
                    <structure>
                        <property name="format">all</property>
                        <expression name="valueExpr" type="javascript">true</expression>
                    </structure>
                </list-property>
                <cell id="633">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <text-data id="638">
                        <property name="style">parametersheadline</property>
                        <property name="fontWeight">bold</property>
                        <property name="textAlign">left</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("isAutoOptimization") == true</expression>
                            </structure>
                        </list-property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.selectedMailing", reportContext.getLocale()) +": " + row["mailingName"]</expression>
                        <property name="contentType">html</property>
                    </text-data>
                </cell>
            </row>
            <row id="635">
                <cell id="636">
                    <property name="style">half-width</property>
                    <property name="paddingTop">0pt</property>
                    <property name="paddingLeft">0px</property>
                    <property name="paddingBottom">0pt</property>
                    <property name="paddingRight">0px</property>
                    <property name="textAlign">center</property>
                    <grid name="GeneralTbl" id="432">
                        <property name="style">table table-striped</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("isAutoOptimization") == true</expression>
                            </structure>
                        </list-property>
                        <column id="433">
                            <property name="width">35%</property>
                        </column>
                        <column id="435">
                            <property name="width">65%</property>
                        </column>
                        <row id="607">
                            <property name="style">table-head</property>
                            <cell id="608">
                                <text-data id="612">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("General2", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="610">
                                <property name="paddingTop">0pt</property>
                                <property name="paddingLeft">0pt</property>
                                <property name="paddingBottom">0pt</property>
                                <property name="paddingRight">0pt</property>
                            </cell>
                        </row>
                        <row id="436">
                            <cell id="437">
                                <text-data id="438">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("mailing.Subject", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="440">
                                <property name="paddingTop">0pt</property>
                                <property name="paddingLeft">0pt</property>
                                <property name="paddingBottom">0pt</property>
                                <property name="paddingRight">0pt</property>
                                <text-data id="603">
                                    <expression name="valueExpr">row["subject"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="442">
                            <cell id="443">
                                <text-data id="444">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("birt.Target", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="446">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">medium</property>
                                <table id="700">
                                    <property name="dataSet">TargetsDataSet</property>
                                    <list-property name="boundDataColumns">
                                        <structure>
                                            <property name="name">TARGET</property>
                                            <expression name="expression" type="javascript">dataSetRow["TARGET"]</expression>
                                            <property name="dataType">string</property>
                                        </structure>
                                    </list-property>
                                    <column id="707"/>
                                    <detail>
                                        <row id="703">
                                            <cell id="704">
                                                <data id="708">
                                                    <property name="resultSetColumn">TARGET</property>
                                                </data>
                                            </cell>
                                        </row>
                                    </detail>
                                </table>
                            </cell>
                        </row>
                        <row id="448">
                            <cell id="449">
                                <text-data id="450">
                                    <expression name="valueExpr">(row["isMailTrackingAvailable"] &amp;&amp; successStatisticExpired != true ? getTranslation("report.numberRecipients.notracking") : getTranslation("report.numberRecipients"))</expression>
                                </text-data>
                            </cell>
                            <cell id="452">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">medium</property>
                                <text-data id="1131">
                                    <expression name="valueExpr">row["numMails"] + (row["isMailTrackingAvailable"] &amp;&amp; successStatisticExpired != true ? " (" + row["anonymousUsers"] + ")" : '')</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="454">
                            <cell id="455">
                                <text-data id="456">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.startSending", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="458">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">medium</property>
                                <text-data id="605">
                                    <expression name="valueExpr">row["startSending"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="460">
                            <cell id="461">
                                <text-data id="462">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.stopSending", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="464">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">medium</property>
                                <text-data id="600">
                                    <expression name="valueExpr">row["stopSending"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="466">
                            <cell id="467">
                                <text-data id="468">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.mailformat", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="470">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">medium</property>
                                <property name="verticalAlign">top</property>
                                <text-data id="601">
                                    <expression name="valueExpr">row["mailformat"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="472">
                            <cell id="473">
                                <text-data id="474">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.mailsize", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="476">
                                <data id="712">
                                    <structure name="numberFormat">
                                        <property name="category">Currency</property>
                                        <property name="pattern">#,##0</property>
                                    </structure>
                                    <property name="resultSetColumn">Column Binding</property>
                                </data>
                            </cell>
                        </row>
                        <row id="1144">
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["evaluationPeriod"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="1145">
                                <text-data id="1147">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.period.evaluation", reportContext.getLocale())</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                            <cell id="1146">
                                <text-data id="1157">
                                    <expression name="valueExpr">row["evaluationPeriod"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="1151">
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["dispatchTime"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="1152">
                                <text-data id="1154">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("mailing.SendingTime", reportContext.getLocale())</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                            <cell id="1153">
                                <text-data id="1156">
                                    <expression name="valueExpr">row["dispatchTime"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                    </grid>
                    <grid name="AutoOptTbl" id="860">
                        <property name="style">table table-striped</property>
                        <property name="width">100%</property>
                        <property name="dataSet">AutoOptimizationDataSet</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("isAutoOptimization") == false</expression>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">autoOptimizationName</property>
                                <expression name="expression" type="javascript">dataSetRow["autoOptimizationName"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">testGroup1</property>
                                <expression name="expression" type="javascript">dataSetRow["testGroup1"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">testGroup2</property>
                                <expression name="expression" type="javascript">dataSetRow["testGroup2"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">testGroup3</property>
                                <expression name="expression" type="javascript">dataSetRow["testGroup3"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">testGroup4</property>
                                <expression name="expression" type="javascript">dataSetRow["testGroup4"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">testGroup5</property>
                                <expression name="expression" type="javascript">dataSetRow["testGroup5"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">resultMailing</property>
                                <expression name="expression" type="javascript">dataSetRow["resultMailing"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <column id="861">
                            <property name="style">textBlue</property>
                            <property name="fontWeight">normal</property>
                            <property name="width">120px</property>
                        </column>
                        <column id="862">
                            <property name="width">200px</property>
                        </column>
                        <row id="863">
                            <property name="height">10px</property>
                            <cell id="864"/>
                            <cell id="865"/>
                        </row>
                        <row id="866">
                            <property name="style">odd</property>
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["autoOptimizationName"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="867">
                                <text-data id="868">
                                    <property name="fontWeight">bold</property>
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("mailing.autooptimization", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="869">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="950">
                                    <property name="style">ReportText</property>
                                    <property name="fontWeight">normal</property>
                                    <expression name="valueExpr">row["autoOptimizationName"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="870">
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["testGroup1"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="871">
                                <text-data id="872">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("testGroup1", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="873">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="874">
                                    <property name="style">ReportText</property>
                                    <expression name="valueExpr">row["testGroup1"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="889">
                            <property name="style">odd</property>
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["testGroup2"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="890">
                                <text-data id="891">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("testGroup2", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="892">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="893">
                                    <property name="style">ReportText</property>
                                    <expression name="valueExpr">row["testGroup2"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="894">
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["testGroup3"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="895">
                                <text-data id="896">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("testGroup3", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="897">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="898">
                                    <property name="style">ReportText</property>
                                    <expression name="valueExpr">row["testGroup3"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="899">
                            <property name="style">odd</property>
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["testGroup4"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="900">
                                <text-data id="901">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("testGroup4", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="902">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="903">
                                    <property name="style">ReportText</property>
                                    <expression name="valueExpr">row["testGroup4"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="904">
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["testGroup5"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="905">
                                <text-data id="906">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("testGroup5", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="907">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="919">
                                    <property name="style">ReportText</property>
                                    <expression name="valueExpr">row["testGroup5"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                        <row id="951">
                            <property name="borderBottomColor">#D3D3D3</property>
                            <property name="borderBottomStyle">solid</property>
                            <property name="borderBottomWidth">1px</property>
                            <property name="borderLeftColor">#D3D3D3</property>
                            <property name="borderLeftStyle">solid</property>
                            <property name="borderLeftWidth">1px</property>
                            <property name="borderRightColor">#D3D3D3</property>
                            <property name="borderRightStyle">solid</property>
                            <property name="borderRightWidth">1px</property>
                            <property name="borderTopColor">#D3D3D3</property>
                            <property name="borderTopStyle">solid</property>
                            <property name="borderTopWidth">1px</property>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["resultMailing"] == null</expression>
                                </structure>
                            </list-property>
                            <cell id="952">
                                <text-data id="954">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("resultMailing", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                            <cell id="953">
                                <property name="borderLeftColor">#D3D3D3</property>
                                <property name="borderLeftStyle">solid</property>
                                <property name="borderLeftWidth">1px</property>
                                <text-data id="955">
                                    <property name="style">ReportText</property>
                                    <expression name="valueExpr">row["resultMailing"]</expression>
                                    <property name="contentType">html</property>
                                </text-data>
                            </cell>
                        </row>
                    </grid>
                </cell>
                <cell id="637">
                    <property name="style">half-width</property>
                    <grid id="970">
                        <property name="style">table</property>
                        <property name="dataSet">MailingSummaryDataSet</property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">category</property>
                                <text-property name="displayName">category</text-property>
                                <expression name="expression" type="javascript">dataSetRow["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">category_index</property>
                                <text-property name="displayName">category_index</text-property>
                                <expression name="expression" type="javascript">dataSetRow["category_index"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">targetgroup</property>
                                <text-property name="displayName">targetgroup</text-property>
                                <expression name="expression" type="javascript">dataSetRow["targetgroup"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">targetgroup_index</property>
                                <text-property name="displayName">targetgroup_index</text-property>
                                <expression name="expression" type="javascript">dataSetRow["targetgroup_index"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">value</property>
                                <text-property name="displayName">value</text-property>
                                <expression name="expression" type="javascript">dataSetRow["value"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">rate</property>
                                <text-property name="displayName">rate</text-property>
                                <expression name="expression" type="javascript">dataSetRow["rate"]</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">value_string</property>
                                <text-property name="displayName">value_string</text-property>
                                <expression name="expression" type="javascript">dataSetRow["value_string"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">category_key</property>
                                <text-property name="displayName">category_key</text-property>
                                <expression name="expression" type="javascript">dataSetRow["categoryKey"]</expression>
                                <property name="dataType">string</property>
                                <property name="allowExport">true</property>
                            </structure>
                        </list-property>
                        <column id="971"/>
                        <row id="972">
                            <cell id="973">
                                <property name="paddingTop">0pt</property>
                                <property name="paddingLeft">0pt</property>
                                <property name="paddingBottom">0pt</property>
                                <property name="paddingRight">0pt</property>
                                <property name="textAlign">center</property>
                                <extended-item extensionName="Chart" name="NewChart11" id="431">
                                    <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:data="http://www.birt.eclipse.org/ChartModelData" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/ChartModelType">
  <Version>2.6.1</Version>
  <Type>Bar Chart</Type>
  <SubType>Stacked</SubType>
  <Description>
    <Value></Value>
    <Font>
      <Alignment/>
    </Font>
  </Description>
  <Block>
    <Children xsi:type="layout:TitleBlock">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>false</Visible>
      <Label>
        <Caption>
          <Value>Bar Chart Title</Value>
          <Font>
            <Size>16.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Center</verticalAlignment>
            </Alignment>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
    </Children>
    <Children xsi:type="layout:Plot">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Anchor>North</Anchor>
      <Stretch>Horizontal</Stretch>
      <Insets>
        <Top>0.0</Top>
        <Left>0.0</Left>
        <Bottom>0.0</Bottom>
        <Right>30.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>true</Visible>
      <HorizontalSpacing>0</HorizontalSpacing>
      <VerticalSpacing>20</VerticalSpacing>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>0.0</Left>
          <Bottom>0.0</Bottom>
          <Right>30.0</Right>
        </Insets>
      </ClientArea>
    </Children>
    <Children xsi:type="layout:Legend">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Anchor>South</Anchor>
      <Stretch>Horizontal</Stretch>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Background xsi:type="attribute:ColorDefinition">
        <Transparency>0</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Background>
      <Visible>false</Visible>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>2.0</Top>
          <Left>2.0</Left>
          <Bottom>2.0</Bottom>
          <Right>2.0</Right>
        </Insets>
      </ClientArea>
      <Text>
        <Value></Value>
        <Font>
          <Name>SansSerif</Name>
          <Size>10.0</Size>
          <Alignment/>
        </Font>
      </Text>
      <Orientation>Horizontal</Orientation>
      <Direction>Top_Bottom</Direction>
      <Separator>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Separator>
      <Position>Below</Position>
      <ItemType>Categories</ItemType>
      <Title>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Above</TitlePosition>
      <MaxPercent>0.1</MaxPercent>
      <TitlePercent>0.1</TitlePercent>
      <Ellipsis>4</Ellipsis>
    </Children>
    <Bounds>
      <Left>0.0</Left>
      <Top>0.0</Top>
      <Width>501.0</Width>
      <Height>270.0</Height>
    </Bounds>
    <Insets>
      <Top>0.0</Top>
      <Left>0.0</Left>
      <Bottom>0.0</Bottom>
      <Right>0.0</Right>
    </Insets>
    <Row>-1</Row>
    <Column>-1</Column>
    <Rowspan>-1</Rowspan>
    <Columnspan>-1</Columnspan>
    <Outline>
      <Style>Solid</Style>
      <Thickness>1</Thickness>
      <Color>
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>0</Green>
        <Blue>0</Blue>
      </Color>
      <Visible>false</Visible>
    </Outline>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>0</Transparency>
      <Red>255</Red>
      <Green>255</Green>
      <Blue>255</Blue>
    </Background>
    <Visible>true</Visible>
  </Block>
  <Dimension>Two_Dimensional</Dimension>
  <Script>importPackage(Packages.com.agnitas.reporting.birt.external.dataset);
importPackage(Packages.com.agnitas.messages);
importPackage(Packages.org.apache.commons.lang);
importPackage(Packages.com.agnitas.messages);

var	ignoredBarIndexes = {};
var naIndexes = {};

/**
 * Called before generation of chart model to GeneratedChartState.
 *
 * @param chart Chart
 * @param icsc IChartScriptContext
 */
function beforeGeneration(chart, icsc){
	var reportContext = icsc.getExternalContext().getObject();
	var externalScriptableContext = icsc.getExternalContext().getScriptable();

	// global functions
	var hasPercentageRepresentation = externalScriptableContext.getGlobalVariable(&quot;hasPercentageRepresentationFunction&quot;);
	
	var isCategoryDataExpired = externalScriptableContext.getGlobalVariable(&quot;isCategoryDataExpired&quot;);

	// axis
	var xAxis = chart.getAxes().get(0);
	var xSeriesDefinition = xAxis.getSeriesDefinitions().get(0);
	var xValues = xSeriesDefinition.getRunTimeSeries().get(0).getDataSet().getValues()

	for (i = 0; i &lt; xValues.length; i++) {
 		 var categoryKey = xValues[i];
 		 // find out indexes of ignored burs.
 		 // uses in beforeDrawDataPointLabel method
 		 if (!hasPercentageRepresentation(categoryKey)) {
 		 	ignoredBarIndexes[i] = 0;
 		 }
 		 
 		 if(isCategoryDataExpired(categoryKey)) {
 		 	naIndexes[i] = 0;
 		 }
	}
	chart.setSeriesThickness(30);

	max = reportContext.getPersistentGlobalVariable(&quot;maxValue&quot;);
	if (max > 0) {
		yAxis = chart.getOrthogonalAxes(chart.getBaseAxes()[0], true)[0];
		yscale = yAxis.getScale();
		yscale.setMax(NumberDataElementImpl.create(max * 1.25));
		yscale.setMin(NumberDataElementImpl.create(0));
		yAxis.setScale(yscale);
	}
};

/**
 * Called before rendering the label for each datapoint.
 *
 * @param dph DataPointHints
 * @param label Label
 * @param icsc IChartScriptContext
 */
 var isProxyValueLabel = true;
function beforeDrawDataPointLabel(dph, label, icsc) {
	var reportContext = icsc.getExternalContext().getObject();
	var externalScriptableContext = icsc.getExternalContext().getScriptable();

	var totalSent = parseInt(reportContext.getGlobalVariable(&quot;total_sent&quot;));

	// code to display the percent value
	
	if (dph.getIndex() in naIndexes) {
		label.getCaption().setValue(I18nString.getLocaleString(&quot;NotAvailableShort&quot;, reportContext.getLocale()));
	} else if (!(dph.getIndex() in ignoredBarIndexes)) {
        if (dph.getBaseDisplayValue().equals(CommonKeys.OPENERS_MEASURED)) {
            if (isProxyValueLabel) {
                isProxyValueLabel = false;
                var proxyOpenersCount = Packages.java.text.NumberFormat.getNumberInstance(getLocale()).parse(label.getCaption().getValue());
                reportContext.setGlobalVariable("proxy_openers_count", proxyOpenersCount);
            }

            var openersMeasuredCount = Packages.java.text.NumberFormat.getNumberInstance(getLocale()).parse(label.getCaption().getValue());
            var totalMeasured = parseInt(reportContext.getGlobalVariable(&quot;proxy_openers_count&quot;)) + parseInt(openersMeasuredCount);

            label.getCaption().setValue(totalMeasured);
        }

		currentValue = label.getCaption().getValue();
		curValue = Packages.java.text.NumberFormat.getNumberInstance(getLocale()).parse(currentValue);
		totalSentNumber = new Number(totalSent);
		if (totalSentNumber > 0) {
			percent = (curValue / totalSentNumber) * 100;
		} else {
			percent = 0;
		}
		formatter = new Packages.java.text.DecimalFormat(&quot;##0.0&quot;);
		percentFormatted = formatter.format(percent);
		label.getCaption().setValue(label.getCaption().getValue() + ' (' + percentFormatted +'%)');
	}
	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		label.getCaption().getColor().set(255, 255, 255);
	}
};

/**
 * Called before drawing each datapoint graphical representation or marker.
 * 
 * @param dph
 *            DataPointHints
 * @param fill
 *            Fill
 * @param icsc
 *            IChartScriptContext
 */

var isProxyOpenersBar = true;
function beforeDrawDataPoint( dph, fill, icsc )
{
	var externalScriptableContext = icsc.getExternalContext().getScriptable();	
	var getColorByCategory = externalScriptableContext.getGlobalVariable(&quot;getColorByCategoryFunction&quot;);
	var isDataDefinitionContainsColor = externalScriptableContext.getGlobalVariable(&quot;isDataDefinitionContainsColorFunction&quot;);
	
	var categoryKey = dph.getBaseDisplayValue();

	if (categoryKey.equals(CommonKeys.OPENERS_MEASURED) &amp;&amp; isProxyOpenersBar) {
	    isProxyOpenersBar = false;
	    fill.set(65, 100, 26);
	    return;
	}

	// and change key if some other key present in data definition for this item
	 if (isDataDefinitionContainsColor(categoryKey)) {
	 	// color in corresponding position for current item
	 	// if color present in data definition for this item
 		color = getColorByCategory(categoryKey);
 		//ColorDefinition::set(int iRed, int iGreen, int iBlue, int iAlpha) 
 		fill.set(color.getRed(), color.getGreen(), color.getBlue(), color.getTransparency()); 
	 }
}

/**
 * Called before rendering each label on a given Axis.
 * 
 * @param axis
 *            Axis
 * @param label
 *            Label
 * @param icsc
 *            IChartScriptContext
 */

function beforeDrawAxisLabel( axis, label, icsc )
{
	var reportContext = icsc.getExternalContext().getObject();
	var getTranslationByCategory = icsc.getExternalContext().getScriptable().getGlobalVariable(&quot;getTranslationByCategoryFunction&quot;);

	importPackage(Packages.org.eclipse.birt.chart.model.attribute);
	if (axis.getType() == AxisType.TEXT_LITERAL){
		 // replace translation key to translation
 	 	caption = label.getCaption();
 	 			 
		var translated = StringUtils.abbreviate(getTranslationByCategory(caption.getValue()), 30);
	 	caption.setValue(translated);
	 	axis.setLabel(label);
	}
	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		label.getCaption().getColor().set(255, 255, 255);
	}
}
</Script>
  <Units>Points</Units>
  <SeriesThickness>10.0</SeriesThickness>
  <GridColumnCount>0</GridColumnCount>
  <ExtendedProperties>
    <Name>enable.area.alt</Name>
    <Value>false</Value>
  </ExtendedProperties>
  <SampleData>
    <BaseSampleData>
      <DataSetRepresentation>'A','B','C','D','E'</DataSetRepresentation>
    </BaseSampleData>
    <OrthogonalSampleData>
      <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation>
      <SeriesDefinitionIndex>0</SeriesDefinitionIndex>
    </OrthogonalSampleData>
    <OrthogonalSampleData>
      <DataSetRepresentation>12.0,8.0,24.0,16.0,20.0</DataSetRepresentation>
      <SeriesDefinitionIndex>1</SeriesDefinitionIndex>
    </OrthogonalSampleData>
    <AncillarySampleData>
      <DataSetRepresentation>Series 1</DataSetRepresentation>
    </AncillarySampleData>
  </SampleData>
  <Interactivity>
    <Enable>false</Enable>
    <LegendBehavior>None</LegendBehavior>
  </Interactivity>
  <EmptyMessage>
    <Caption>
      <Value>No data available.</Value>
      <Font>
        <Alignment>
          <horizontalAlignment>Center</horizontalAlignment>
          <verticalAlignment>Center</verticalAlignment>
        </Alignment>
      </Font>
    </Caption>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>64</Transparency>
      <Red>127</Red>
      <Green>127</Green>
      <Blue>127</Blue>
    </Background>
    <Outline>
      <Color>
        <Transparency>128</Transparency>
        <Red>127</Red>
        <Green>127</Green>
        <Blue>127</Blue>
      </Color>
      <Visible>true</Visible>
    </Outline>
    <Insets>
      <Top>10.0</Top>
      <Left>10.0</Left>
      <Bottom>10.0</Bottom>
      <Right>10.0</Right>
    </Insets>
    <Visible>true</Visible>
  </EmptyMessage>
  <Axes>
    <Type>Text</Type>
    <Title>
      <Caption>
        <Value>X-Axis Title</Value>
        <Font>
          <Size>14.0</Size>
          <Bold>true</Bold>
          <Alignment>
            <horizontalAlignment>Center</horizontalAlignment>
            <verticalAlignment>Center</verticalAlignment>
          </Alignment>
          <Rotation>0.0</Rotation>
        </Font>
      </Caption>
      <Background xsi:type="attribute:ColorDefinition">
        <Transparency>0</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Background>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
      </Outline>
      <Insets>
        <Top>0.0</Top>
        <Left>2.0</Left>
        <Bottom>0.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Visible>false</Visible>
    </Title>
    <TitlePosition>Below</TitlePosition>
    <AssociatedAxes>
      <Type>Linear</Type>
      <Title>
        <Caption>
          <Value>Y-Axis Title</Value>
          <Font>
            <Size>14.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Center</verticalAlignment>
            </Alignment>
            <Rotation>90.0</Rotation>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Left</TitlePosition>
      <SeriesDefinitions>
        <Query>
          <Definition></Definition>
          <Grouping>
            <GroupType>Numeric</GroupType>
          </Grouping>
        </Query>
        <SeriesPalette>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>166</Green>
            <Blue>218</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>242</Red>
            <Green>88</Green>
            <Blue>106</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>232</Red>
            <Green>172</Green>
            <Blue>57</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>64</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>170</Red>
            <Green>85</Green>
            <Blue>85</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>192</Red>
            <Green>192</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>192</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>7</Red>
            <Green>146</Green>
            <Blue>94</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>64</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>240</Green>
            <Blue>120</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>0</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
        </SeriesPalette>
        <Series xsi:type="type:BarSeries">
          <Visible>true</Visible>
          <Label>
            <Caption>
              <Value></Value>
              <Font>
                <Name>Arial</Name>
                <Size>10.0</Size>
                <Alignment/>
              </Font>
              <Color>
                <Transparency>255</Transparency>
                <Red>79</Red>
                <Green>80</Green>
                <Blue>81</Blue>
              </Color>
            </Caption>
            <Background xsi:type="attribute:ColorDefinition">
              <Transparency>0</Transparency>
              <Red>255</Red>
              <Green>255</Green>
              <Blue>255</Blue>
            </Background>
            <Outline>
              <Style>Solid</Style>
              <Thickness>1</Thickness>
              <Color>
                <Transparency>255</Transparency>
                <Red>0</Red>
                <Green>0</Green>
                <Blue>0</Blue>
              </Color>
              <Visible>false</Visible>
            </Outline>
            <Insets>
              <Top>0.0</Top>
              <Left>10.0</Left>
              <Bottom>0.0</Bottom>
              <Right>3.0</Right>
            </Insets>
            <Visible>false</Visible>
          </Label>
          <DataDefinition>
            <Definition>row[&quot;partial_value&quot;]</Definition>
            <Grouping>
              <GroupType>Text</GroupType>
              <AggregateExpression>Sum</AggregateExpression>
            </Grouping>
          </DataDefinition>
          <SeriesIdentifier>Series1</SeriesIdentifier>
          <DataPoint>
            <Components>
              <Type>Orthogonal_Value</Type>
              <FormatSpecifier xsi:type="attribute:NumberFormatSpecifier">
                <Prefix></Prefix>
                <Suffix></Suffix>
                <FractionDigits>0</FractionDigits>
              </FormatSpecifier>
            </Components>
            <Suffix></Suffix>
            <Separator></Separator>
          </DataPoint>
          <LabelPosition>Inside</LabelPosition>
          <Stacked>true</Stacked>
          <Riser>Rectangle</Riser>
        </Series>
        <Grouping>
          <Enabled>false</Enabled>
          <GroupingInterval>1.0</GroupingInterval>
          <GroupType>Text</GroupType>
          <AggregateExpression>Sum</AggregateExpression>
        </Grouping>
        <SortKey/>
      </SeriesDefinitions>
      <SeriesDefinitions>
        <Query>
          <Definition></Definition>
          <Grouping>
            <GroupType>Numeric</GroupType>
          </Grouping>
        </Query>
        <SeriesPalette>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>242</Red>
            <Green>88</Green>
            <Blue>106</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>232</Red>
            <Green>172</Green>
            <Blue>57</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>64</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>170</Red>
            <Green>85</Green>
            <Blue>85</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>192</Red>
            <Green>192</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>192</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>7</Red>
            <Green>146</Green>
            <Blue>94</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>64</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>240</Green>
            <Blue>120</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>0</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>166</Green>
            <Blue>218</Blue>
          </Entries>
        </SeriesPalette>
        <Series xsi:type="type:BarSeries">
          <Visible>true</Visible>
          <Label>
            <Caption>
              <Value></Value>
              <Font>
                <Name>Arial</Name>
                <Size>10.0</Size>
                <Alignment/>
              </Font>
              <Color>
                <Transparency>255</Transparency>
                <Red>79</Red>
                <Green>80</Green>
                <Blue>81</Blue>
              </Color>
            </Caption>
            <Background xsi:type="attribute:ColorDefinition">
              <Transparency>0</Transparency>
              <Red>255</Red>
              <Green>255</Green>
              <Blue>255</Blue>
            </Background>
            <Outline>
              <Style>Solid</Style>
              <Thickness>1</Thickness>
              <Color>
                <Transparency>255</Transparency>
                <Red>0</Red>
                <Green>0</Green>
                <Blue>0</Blue>
              </Color>
              <Visible>false</Visible>
            </Outline>
            <Insets>
              <Top>0.0</Top>
              <Left>10.0</Left>
              <Bottom>0.0</Bottom>
              <Right>3.0</Right>
            </Insets>
            <Visible>true</Visible>
          </Label>
          <DataDefinition>
            <Definition>row[&quot;value&quot;] > 0 ? (row[&quot;category_index&quot;] != CommonKeys.REVENUE_INDEX ? (row[&quot;value&quot;] - row[&quot;partial_value&quot;]) : row[&quot;value&quot;]/100) : 0.000001</Definition>
            <Grouping>
              <Enabled>false</Enabled>
              <GroupType>Text</GroupType>
              <AggregateExpression>Sum</AggregateExpression>
            </Grouping>
          </DataDefinition>
          <SeriesIdentifier>Series 2</SeriesIdentifier>
          <DataPoint>
            <Components>
              <Type>Orthogonal_Value</Type>
              <FormatSpecifier xsi:type="attribute:NumberFormatSpecifier">
                <Prefix></Prefix>
                <Suffix></Suffix>
                <FractionDigits>0</FractionDigits>
              </FormatSpecifier>
            </Components>
            <Suffix></Suffix>
            <Separator></Separator>
          </DataPoint>
          <LabelPosition>Outside</LabelPosition>
          <Stacked>true</Stacked>
          <Triggers>
            <Condition>onmouseover</Condition>
            <Action>
              <Type>Show_Tooltip</Type>
              <Value xsi:type="attribute:TooltipValue">
                <Text></Text>
                <Delay>200</Delay>
              </Value>
            </Action>
          </Triggers>
          <Riser>Rectangle</Riser>
        </Series>
        <Grouping>
          <GroupType>Text</GroupType>
          <AggregateExpression>Sum</AggregateExpression>
        </Grouping>
      </SeriesDefinitions>
      <Orientation>Vertical</Orientation>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>139</Red>
          <Green>139</Green>
          <Blue>139</Blue>
        </Color>
        <Visible>true</Visible>
      </LineAttributes>
      <Label>
        <Caption>
          <Value></Value>
          <Font>
            <Name>Arial</Name>
            <Size>10.0</Size>
            <Alignment/>
          </Font>
          <Color>
            <Transparency>255</Transparency>
            <Red>79</Red>
            <Green>80</Green>
            <Blue>81</Blue>
          </Color>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>10.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
      <LabelPosition>Left</LabelPosition>
      <MajorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>196</Red>
            <Green>196</Green>
            <Blue>196</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>204</Red>
            <Green>204</Green>
            <Blue>204</Blue>
          </Color>
          <Visible>true</Visible>
        </TickAttributes>
      </MajorGrid>
      <MinorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </TickAttributes>
      </MinorGrid>
      <Scale>
        <Min xsi:type="data:NumberDataElement">
          <Value>0.0</Value>
        </Min>
        <MinorGridsPerUnit>5</MinorGridsPerUnit>
        <ShowOutside>false</ShowOutside>
        <AutoExpand>true</AutoExpand>
      </Scale>
      <Origin>
        <Type>Min</Type>
        <Value xsi:type="data:NumberDataElement">
          <Value>0.0</Value>
        </Value>
      </Origin>
      <PrimaryAxis>true</PrimaryAxis>
      <Percent>false</Percent>
      <SideBySide>false</SideBySide>
    </AssociatedAxes>
    <AncillaryAxes>
      <Type>Text</Type>
      <Title>
        <Caption>
          <Value>Z-Axis Title</Value>
          <Font>
            <Size>14.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Center</verticalAlignment>
            </Alignment>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Below</TitlePosition>
      <SeriesDefinitions>
        <Query>
          <Definition></Definition>
        </Query>
        <SeriesPalette>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>166</Green>
            <Blue>218</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>242</Red>
            <Green>88</Green>
            <Blue>106</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>232</Red>
            <Green>172</Green>
            <Blue>57</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>64</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>170</Red>
            <Green>85</Green>
            <Blue>85</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>192</Red>
            <Green>192</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>192</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>7</Red>
            <Green>146</Green>
            <Blue>94</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>64</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>240</Green>
            <Blue>120</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>0</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
        </SeriesPalette>
        <Series>
          <Visible>true</Visible>
          <Label>
            <Caption>
              <Value></Value>
              <Font>
                <Alignment/>
              </Font>
            </Caption>
            <Background xsi:type="attribute:ColorDefinition">
              <Transparency>0</Transparency>
              <Red>255</Red>
              <Green>255</Green>
              <Blue>255</Blue>
            </Background>
            <Outline>
              <Style>Solid</Style>
              <Thickness>1</Thickness>
              <Color>
                <Transparency>255</Transparency>
                <Red>0</Red>
                <Green>0</Green>
                <Blue>0</Blue>
              </Color>
              <Visible>false</Visible>
            </Outline>
            <Insets>
              <Top>0.0</Top>
              <Left>2.0</Left>
              <Bottom>0.0</Bottom>
              <Right>3.0</Right>
            </Insets>
            <Visible>false</Visible>
          </Label>
          <SeriesIdentifier></SeriesIdentifier>
          <DataPoint>
            <Components>
              <Type>Orthogonal_Value</Type>
            </Components>
            <Separator>, </Separator>
          </DataPoint>
          <LabelPosition>Outside</LabelPosition>
          <Stacked>false</Stacked>
        </Series>
        <Grouping>
          <GroupType>Text</GroupType>
          <AggregateExpression>Sum</AggregateExpression>
        </Grouping>
      </SeriesDefinitions>
      <Orientation>Horizontal</Orientation>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Visible>true</Visible>
      </LineAttributes>
      <Label>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
      <LabelPosition>Below</LabelPosition>
      <MajorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>196</Red>
            <Green>196</Green>
            <Blue>196</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>196</Red>
            <Green>196</Green>
            <Blue>196</Blue>
          </Color>
          <Visible>true</Visible>
        </TickAttributes>
      </MajorGrid>
      <MinorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </TickAttributes>
      </MinorGrid>
      <Scale>
        <MinorGridsPerUnit>5</MinorGridsPerUnit>
      </Scale>
      <Origin>
        <Type>Min</Type>
        <Value xsi:type="data:NumberDataElement">
          <Value>0.0</Value>
        </Value>
      </Origin>
      <PrimaryAxis>true</PrimaryAxis>
      <Percent>false</Percent>
    </AncillaryAxes>
    <SeriesDefinitions>
      <Query>
        <Definition></Definition>
      </Query>
      <SeriesPalette>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>80</Red>
          <Green>166</Green>
          <Blue>218</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>242</Red>
          <Green>88</Green>
          <Blue>106</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>232</Red>
          <Green>172</Green>
          <Blue>57</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>255</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>64</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>170</Red>
          <Green>85</Green>
          <Blue>85</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>192</Red>
          <Green>192</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>192</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>7</Red>
          <Green>146</Green>
          <Blue>94</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>128</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>0</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>64</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>80</Red>
          <Green>240</Green>
          <Blue>120</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>64</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>0</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>0</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>64</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
      </SeriesPalette>
      <Series>
        <Visible>true</Visible>
        <Label>
          <Caption>
            <Value></Value>
            <Font>
              <Alignment/>
            </Font>
          </Caption>
          <Background xsi:type="attribute:ColorDefinition">
            <Transparency>0</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Background>
          <Outline>
            <Style>Solid</Style>
            <Thickness>1</Thickness>
            <Color>
              <Transparency>255</Transparency>
              <Red>0</Red>
              <Green>0</Green>
              <Blue>0</Blue>
            </Color>
            <Visible>false</Visible>
          </Outline>
          <Insets>
            <Top>0.0</Top>
            <Left>2.0</Left>
            <Bottom>0.0</Bottom>
            <Right>3.0</Right>
          </Insets>
          <Visible>false</Visible>
        </Label>
        <DataDefinition>
          <Definition>row[&quot;category_key&quot;]</Definition>
        </DataDefinition>
        <SeriesIdentifier></SeriesIdentifier>
        <DataPoint>
          <Components>
            <Type>Orthogonal_Value</Type>
          </Components>
          <Separator>, </Separator>
        </DataPoint>
        <LabelPosition>Outside</LabelPosition>
        <Stacked>false</Stacked>
      </Series>
      <Grouping>
        <Enabled>false</Enabled>
        <GroupingInterval>1.0</GroupingInterval>
        <GroupType>Text</GroupType>
        <AggregateExpression>Sum</AggregateExpression>
      </Grouping>
      <Sorting>Descending</Sorting>
      <SortKey>
        <Definition>getKeyFiguresRowPosition(row[&quot;category_key&quot;], row[&quot;category_index&quot;])</Definition>
      </SortKey>
    </SeriesDefinitions>
    <Orientation>Horizontal</Orientation>
    <LineAttributes>
      <Style>Solid</Style>
      <Thickness>1</Thickness>
      <Color>
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>0</Green>
        <Blue>0</Blue>
      </Color>
      <Visible>false</Visible>
    </LineAttributes>
    <Label>
      <Caption>
        <Value></Value>
        <Font>
          <Name>Arial</Name>
          <Size>10.0</Size>
          <Bold>false</Bold>
          <Alignment/>
        </Font>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
      </Caption>
      <Background xsi:type="attribute:ColorDefinition">
        <Transparency>0</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Background>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Insets>
        <Top>0.0</Top>
        <Left>0.0</Left>
        <Bottom>0.0</Bottom>
        <Right>0.0</Right>
      </Insets>
      <Visible>true</Visible>
      <Ellipsis>40</Ellipsis>
    </Label>
    <LabelPosition>Below</LabelPosition>
    <Staggered>false</Staggered>
    <Interval>1</Interval>
    <MajorGrid>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>196</Red>
          <Green>196</Green>
          <Blue>196</Blue>
        </Color>
        <Visible>false</Visible>
      </LineAttributes>
      <TickStyle>Across</TickStyle>
      <TickAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>196</Red>
          <Green>196</Green>
          <Blue>196</Blue>
        </Color>
        <Visible>false</Visible>
      </TickAttributes>
    </MajorGrid>
    <MinorGrid>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>225</Red>
          <Green>225</Green>
          <Blue>225</Blue>
        </Color>
        <Visible>false</Visible>
      </LineAttributes>
      <TickStyle>Across</TickStyle>
      <TickAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>225</Red>
          <Green>225</Green>
          <Blue>225</Blue>
        </Color>
        <Visible>false</Visible>
      </TickAttributes>
    </MinorGrid>
    <Scale>
      <MinorGridsPerUnit>5</MinorGridsPerUnit>
      <ShowOutside>false</ShowOutside>
      <TickBetweenCategories>true</TickBetweenCategories>
    </Scale>
    <Origin>
      <Type>Min</Type>
      <Value xsi:type="data:NumberDataElement">
        <Value>0.0</Value>
      </Value>
    </Origin>
    <PrimaryAxis>true</PrimaryAxis>
    <CategoryAxis>true</CategoryAxis>
    <Percent>false</Percent>
  </Axes>
  <WallFill xsi:type="attribute:ColorDefinition">
    <Transparency>255</Transparency>
    <Red>192</Red>
    <Green>192</Green>
    <Blue>192</Blue>
  </WallFill>
  <FloorFill xsi:type="attribute:ColorDefinition">
    <Transparency>255</Transparency>
    <Red>192</Red>
    <Green>192</Green>
    <Blue>192</Blue>
  </FloorFill>
  <Orientation>Horizontal</Orientation>
  <UnitSpacing>60.0</UnitSpacing>
  <Rotation>
    <Angles>
      <XAngle>-20.0</XAngle>
      <YAngle>45.0</YAngle>
      <ZAngle>0.0</ZAngle>
      <Type>None</Type>
    </Angles>
  </Rotation>
  <ReverseCategory>false</ReverseCategory>
</model:ChartWithAxes>
]]></xml-property>
                                    <property name="outputFormat">SVG</property>
                                    <list-property name="filter">
                                        <structure>
                                            <property name="operator">eq</property>
                                            <expression name="expr" type="javascript">row["targetgroup_index"]</expression>
                                            <simple-property-list name="value1">
                                                <value>1</value>
                                            </simple-property-list>
                                            <property name="updateAggregation">true</property>
                                        </structure>
                                        <structure>
                                            <property name="operator">is-true</property>
                                            <expression name="expr" type="javascript">row["category_index"] &lt;= CommonKeys.REVENUE_INDEX ||
row["category_index"] == CommonKeys.OPENINGS_ANONYMOUS_INDEX ||
row["category_index"] == CommonKeys.CLICKS_ANONYMOUS_INDEX</expression>
                                            <property name="updateAggregation">true</property>
                                        </structure>
                                    </list-property>
                                    <property name="inheritColumns">true</property>
                                    <property name="marginTop">0px</property>
                                    <property name="marginBottom">0px</property>
                                    <property name="height">360px</property>
                                    <property name="width">668px</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("showGross") == false</expression>
                                        </structure>
                                    </list-property>
                                    <list-property name="boundDataColumns">
                                        <structure>
                                            <property name="name">partial_value</property>
                                            <text-property name="displayName">partial_value</text-property>
                                            <expression name="expression" type="javascript">dataSetRow["partial_value"]</expression>
                                            <property name="dataType">integer</property>
                                            <property name="allowExport">true</property>
                                        </structure>
                                    </list-property>
                                </extended-item>
                                <extended-item extensionName="Chart" name="NewChart111" id="1088">
                                    <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:data="http://www.birt.eclipse.org/ChartModelData" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/ChartModelType">
  <Version>2.6.1</Version>
  <Type>Bar Chart</Type>
  <SubType>Side-by-side</SubType>
  <Description>
    <Value></Value>
    <Font>
      <Alignment/>
    </Font>
  </Description>
  <Block>
    <Children xsi:type="layout:TitleBlock">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>false</Visible>
      <Label>
        <Caption>
          <Value>Bar Chart Title</Value>
          <Font>
            <Size>16.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Center</verticalAlignment>
            </Alignment>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
    </Children>
    <Children xsi:type="layout:Plot">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>0.0</Top>
        <Left>0.0</Left>
        <Bottom>0.0</Bottom>
        <Right>30.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>true</Visible>
      <HorizontalSpacing>0</HorizontalSpacing>
      <VerticalSpacing>20</VerticalSpacing>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>0.0</Left>
          <Bottom>0.0</Bottom>
          <Right>30.0</Right>
        </Insets>
      </ClientArea>
    </Children>
    <Children xsi:type="layout:Legend">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Anchor>South</Anchor>
      <Stretch>Horizontal</Stretch>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Background xsi:type="attribute:ColorDefinition">
        <Transparency>0</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Background>
      <Visible>false</Visible>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>2.0</Top>
          <Left>2.0</Left>
          <Bottom>2.0</Bottom>
          <Right>2.0</Right>
        </Insets>
      </ClientArea>
      <Text>
        <Value></Value>
        <Font>
          <Name>SansSerif</Name>
          <Size>10.0</Size>
          <Alignment/>
        </Font>
      </Text>
      <Orientation>Horizontal</Orientation>
      <Direction>Top_Bottom</Direction>
      <Separator>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Separator>
      <Position>Below</Position>
      <ItemType>Categories</ItemType>
      <Title>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Above</TitlePosition>
      <MaxPercent>0.1</MaxPercent>
      <TitlePercent>0.1</TitlePercent>
      <Ellipsis>4</Ellipsis>
    </Children>
    <Bounds>
      <Left>0.0</Left>
      <Top>0.0</Top>
      <Width>501.0</Width>
      <Height>270.0</Height>
    </Bounds>
    <Insets>
      <Top>0.0</Top>
      <Left>0.0</Left>
      <Bottom>0.0</Bottom>
      <Right>0.0</Right>
    </Insets>
    <Row>-1</Row>
    <Column>-1</Column>
    <Rowspan>-1</Rowspan>
    <Columnspan>-1</Columnspan>
    <Outline>
      <Style>Solid</Style>
      <Thickness>1</Thickness>
      <Color>
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>0</Green>
        <Blue>0</Blue>
      </Color>
      <Visible>false</Visible>
    </Outline>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>0</Transparency>
      <Red>255</Red>
      <Green>255</Green>
      <Blue>255</Blue>
    </Background>
    <Visible>true</Visible>
  </Block>
  <Dimension>Two_Dimensional</Dimension>
  <Script>importPackage(Packages.org.eclipse.birt.chart.model.attribute.impl);
importPackage(Packages.org.eclipse.birt.chart.model.attribute);
importPackage(Packages.org.eclipse.birt.report.model.api.util);
importPackage(Packages.org.eclipse.birt.chart.model.data.impl);
importPackage(Packages.com.agnitas.messages);
importPackage(Packages.com.agnitas.reporting.birt.external.dataset);
importPackage(Packages.java.util);
importPackage(Packages.java.text);
importPackage(Packages.org.apache.commons.lang);
importPackage(Packages.com.agnitas.messages);

var	ignoredBarIndexes = {}
var naIndexes = {};


/**
 * Called before generation of chart model to GeneratedChartState.
 *
 * @param chart Chart
 * @param icsc IChartScriptContext
 */
function beforeGeneration(chart, icsc) {
	var reportContext = icsc.getExternalContext().getObject();
	var externalScriptableContext = icsc.getExternalContext().getScriptable();

	// global functions
	var hasPercentageRepresentation = externalScriptableContext.getGlobalVariable(&quot;hasPercentageRepresentationFunction&quot;);
	
	var isCategoryDataExpired = externalScriptableContext.getGlobalVariable(&quot;isCategoryDataExpired&quot;);

	var xAxis = chart.getAxes().get(0);
	var xSeriesDefinition = xAxis.getSeriesDefinitions().get(0);
	var xValues = xSeriesDefinition.getRunTimeSeries().get(0).getDataSet().getValues();

	for (i = 0; i &lt; xValues.length; i++) {
 		 categoryKey = xValues[i];

 		 // find out indexes of ignored burs.
 		 // uses in beforeDrawDataPointLabel method
 		 if (!hasPercentageRepresentation(categoryKey)) {
 		 	ignoredBarIndexes[i] = 0;
 		 }
 		 
 		 if(isCategoryDataExpired(categoryKey)) {
 		 	naIndexes[i] = 0;
 		 }
	}
	chart.setSeriesThickness(30);

	//max = reportContext.getPersistentGlobalVariable(&quot;total_sent&quot;);
	max = reportContext.getPersistentGlobalVariable(&quot;maxValue&quot;);
	if (max > 0) {
		yAxis = chart.getOrthogonalAxes(chart.getBaseAxes()[0], true)[0];
		yscale = yAxis.getScale();
		yscale.setMax(NumberDataElementImpl.create(max * 1.25));
		yscale.setMin(NumberDataElementImpl.create(0));
		yAxis.setScale(yscale);
	}
};

/**
 * Called before rendering the label for each datapoint.
 *
 * @param dph DataPointHints
 * @param label Label
 * @param icsc IChartScriptContext
 */
function beforeDrawDataPointLabel(dph, label, icsc) {
	var reportContext = icsc.getExternalContext().getObject();
	var externalScriptableContext = icsc.getExternalContext().getScriptable();

	var totalSent = parseInt(reportContext.getGlobalVariable(&quot;total_sent&quot;));
	var totalDelivered = parseInt(getGlobalVariable(&quot;total_delivered&quot;));

	// code to display the percent value
	if (dph.getIndex() in naIndexes) {
		label.getCaption().setValue(I18nString.getLocaleString(&quot;NotAvailableShort&quot;, reportContext.getLocale()));
	} else if (!(dph.getIndex() in ignoredBarIndexes)) {
		currentValue = label.getCaption().getValue();
		totalSentNumber = new Number(totalSent);
		totalDeliveredNumber = new Number(totalDelivered);
		curValue = Packages.java.text.NumberFormat.getNumberInstance(getLocale()).parse(currentValue);
		if (totalDeliveredNumber > 0) {
			if(curValue >= totalDeliveredNumber){
				percent = (curValue / totalSentNumber) * 100; //Hack for all sent and all delivered number (percentages should be calculated from totalSentNumber instead of totalDeliveredNumber
			} else {
				percent = (curValue / totalDeliveredNumber) * 100;
			}
		} else {
			percent = 0;
		}
		formatter = new Packages.java.text.DecimalFormat(&quot;##0.0&quot;);
		percentFormatted = formatter.format(percent);
		label.getCaption().setValue(label.getCaption().getValue() + ' (' + percentFormatted +'%)');
	}
	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		label.getCaption().getColor().set(255, 255, 255);
	}
};

/**
 * Called before drawing each datapoint graphical representation or marker.
 * 
 * @param dph
 *            DataPointHints
 * @param fill
 *            Fill
 * @param icsc
 *            IChartScriptContext
 */

function beforeDrawDataPoint( dph, fill, icsc )
{
	var externalScriptableContext = icsc.getExternalContext().getScriptable();	
	var getColorByCategory = externalScriptableContext.getGlobalVariable(&quot;getColorByCategoryFunction&quot;);
	var isDataDefinitionContainsColor = externalScriptableContext.getGlobalVariable(&quot;isDataDefinitionContainsColorFunction&quot;);
	
	var categoryKey = dph.getBaseDisplayValue();
	// and change key if some other key present in data definition for this item
	 if (isDataDefinitionContainsColor(categoryKey)) {
	 	// color in corresponding position for current item
	 	// if color present in data definition for this item
 		color = getColorByCategory(categoryKey);
 		//ColorDefinition::set(int iRed, int iGreen, int iBlue, int iAlpha) 
 		fill.set(color.getRed(), color.getGreen(), color.getBlue(), color.getTransparency()); 
	 }
}

/**
 * Called before rendering each label on a given Axis.
 * 
 * @param axis
 *            Axis
 * @param label
 *            Label
 * @param icsc
 *            IChartScriptContext
 */

function beforeDrawAxisLabel( axis, label, icsc )
{
	var reportContext = icsc.getExternalContext().getObject();
	var getTranslationByCategory = icsc.getExternalContext().getScriptable().getGlobalVariable(&quot;getTranslationByCategoryFunction&quot;);

	importPackage(Packages.org.eclipse.birt.chart.model.attribute);
	if (axis.getType() == AxisType.TEXT_LITERAL){
		 // replace translation key to translation
		caption = label.getCaption();
		 
		var translated = StringUtils.abbreviate(getTranslationByCategory(caption.getValue()), 30);
	 	caption.setValue(translated);
	 	axis.setLabel(label);
	}
	
	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		label.getCaption().getColor().set(255, 255, 255);
	}
}</Script>
  <Units>Points</Units>
  <SeriesThickness>10.0</SeriesThickness>
  <GridColumnCount>0</GridColumnCount>
  <ExtendedProperties>
    <Name>enable.area.alt</Name>
    <Value>false</Value>
  </ExtendedProperties>
  <SampleData>
    <BaseSampleData>
      <DataSetRepresentation>'A','B','C','D','E'</DataSetRepresentation>
    </BaseSampleData>
    <OrthogonalSampleData>
      <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation>
      <SeriesDefinitionIndex>0</SeriesDefinitionIndex>
    </OrthogonalSampleData>
    <AncillarySampleData>
      <DataSetRepresentation>Series 1</DataSetRepresentation>
    </AncillarySampleData>
  </SampleData>
  <Interactivity>
    <Enable>false</Enable>
    <LegendBehavior>None</LegendBehavior>
  </Interactivity>
  <EmptyMessage>
    <Caption>
      <Value>No data available.</Value>
      <Font>
        <Alignment>
          <horizontalAlignment>Center</horizontalAlignment>
          <verticalAlignment>Center</verticalAlignment>
        </Alignment>
      </Font>
    </Caption>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>64</Transparency>
      <Red>127</Red>
      <Green>127</Green>
      <Blue>127</Blue>
    </Background>
    <Outline>
      <Color>
        <Transparency>128</Transparency>
        <Red>127</Red>
        <Green>127</Green>
        <Blue>127</Blue>
      </Color>
      <Visible>true</Visible>
    </Outline>
    <Insets>
      <Top>10.0</Top>
      <Left>10.0</Left>
      <Bottom>10.0</Bottom>
      <Right>10.0</Right>
    </Insets>
    <Visible>true</Visible>
  </EmptyMessage>
  <Axes>
    <Type>Text</Type>
    <Title>
      <Caption>
        <Value>X-Axis Title</Value>
        <Font>
          <Size>14.0</Size>
          <Bold>true</Bold>
          <Alignment>
            <horizontalAlignment>Center</horizontalAlignment>
            <verticalAlignment>Center</verticalAlignment>
          </Alignment>
          <Rotation>0.0</Rotation>
        </Font>
      </Caption>
      <Background xsi:type="attribute:ColorDefinition">
        <Transparency>0</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Background>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
      </Outline>
      <Insets>
        <Top>0.0</Top>
        <Left>2.0</Left>
        <Bottom>0.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Visible>false</Visible>
    </Title>
    <TitlePosition>Below</TitlePosition>
    <AssociatedAxes>
      <Type>Linear</Type>
      <Title>
        <Caption>
          <Value>Y-Axis Title</Value>
          <Font>
            <Size>14.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Center</verticalAlignment>
            </Alignment>
            <Rotation>90.0</Rotation>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Left</TitlePosition>
      <SeriesDefinitions>
        <Query>
          <Definition></Definition>
          <Grouping>
            <GroupType>Numeric</GroupType>
          </Grouping>
        </Query>
        <SeriesPalette>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>166</Green>
            <Blue>218</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>242</Red>
            <Green>88</Green>
            <Blue>106</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>232</Red>
            <Green>172</Green>
            <Blue>57</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>64</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>170</Red>
            <Green>85</Green>
            <Blue>85</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>192</Red>
            <Green>192</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>192</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>7</Red>
            <Green>146</Green>
            <Blue>94</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>64</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>240</Green>
            <Blue>120</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>0</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
        </SeriesPalette>
        <Series xsi:type="type:BarSeries">
          <Visible>true</Visible>
          <Label>
            <Caption>
              <Value></Value>
              <Font>
                <Name>Arial</Name>
                <Size>10.0</Size>
                <Alignment/>
              </Font>
              <Color>
                <Transparency>255</Transparency>
                <Red>79</Red>
                <Green>80</Green>
                <Blue>81</Blue>
              </Color>
            </Caption>
            <Background xsi:type="attribute:ColorDefinition">
              <Transparency>0</Transparency>
              <Red>255</Red>
              <Green>255</Green>
              <Blue>255</Blue>
            </Background>
            <Outline>
              <Style>Solid</Style>
              <Thickness>1</Thickness>
              <Color>
                <Transparency>255</Transparency>
                <Red>0</Red>
                <Green>0</Green>
                <Blue>0</Blue>
              </Color>
              <Visible>false</Visible>
            </Outline>
            <Insets>
              <Top>0.0</Top>
              <Left>10.0</Left>
              <Bottom>0.0</Bottom>
              <Right>3.0</Right>
            </Insets>
            <Visible>true</Visible>
          </Label>
          <DataDefinition>
            <Definition>row[&quot;value&quot;] > 0 ? (row[&quot;category_index&quot;] != CommonKeys.REVENUE_INDEX ? row[&quot;value&quot;] : row[&quot;value&quot;]/100) : 0.000001</Definition>
            <Grouping>
              <GroupType>Text</GroupType>
              <AggregateExpression>Sum</AggregateExpression>
            </Grouping>
          </DataDefinition>
          <SeriesIdentifier>Series1</SeriesIdentifier>
          <DataPoint>
            <Components>
              <Type>Orthogonal_Value</Type>
              <FormatSpecifier xsi:type="attribute:NumberFormatSpecifier">
                <Prefix></Prefix>
                <Suffix></Suffix>
                <FractionDigits>0</FractionDigits>
              </FormatSpecifier>
            </Components>
            <Suffix></Suffix>
            <Separator></Separator>
          </DataPoint>
          <LabelPosition>Outside</LabelPosition>
          <Stacked>false</Stacked>
          <Riser>Rectangle</Riser>
        </Series>
        <Grouping>
          <Enabled>false</Enabled>
          <GroupingInterval>1.0</GroupingInterval>
          <GroupType>Text</GroupType>
          <AggregateExpression>Sum</AggregateExpression>
        </Grouping>
        <SortKey/>
      </SeriesDefinitions>
      <Orientation>Vertical</Orientation>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>139</Red>
          <Green>139</Green>
          <Blue>139</Blue>
        </Color>
        <Visible>true</Visible>
      </LineAttributes>
      <Label>
        <Caption>
          <Value></Value>
          <Font>
            <Name>Arial</Name>
            <Size>10.0</Size>
            <Alignment/>
          </Font>
          <Color>
            <Transparency>255</Transparency>
            <Red>79</Red>
            <Green>80</Green>
            <Blue>81</Blue>
          </Color>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>10.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
      <FormatSpecifier xsi:type="attribute:NumberFormatSpecifier">
        <Prefix></Prefix>
        <Suffix></Suffix>
        <FractionDigits>0</FractionDigits>
      </FormatSpecifier>
      <LabelPosition>Left</LabelPosition>
      <MajorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>196</Red>
            <Green>196</Green>
            <Blue>196</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>204</Red>
            <Green>204</Green>
            <Blue>204</Blue>
          </Color>
          <Visible>true</Visible>
        </TickAttributes>
      </MajorGrid>
      <MinorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </TickAttributes>
      </MinorGrid>
      <Scale>
        <Min xsi:type="data:NumberDataElement">
          <Value>0.0</Value>
        </Min>
        <MinorGridsPerUnit>5</MinorGridsPerUnit>
        <ShowOutside>false</ShowOutside>
        <AutoExpand>true</AutoExpand>
      </Scale>
      <Origin>
        <Type>Min</Type>
        <Value xsi:type="data:NumberDataElement">
          <Value>0.0</Value>
        </Value>
      </Origin>
      <PrimaryAxis>true</PrimaryAxis>
      <Percent>false</Percent>
    </AssociatedAxes>
    <AncillaryAxes>
      <Type>Text</Type>
      <Title>
        <Caption>
          <Value>Z-Axis Title</Value>
          <Font>
            <Size>14.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Center</verticalAlignment>
            </Alignment>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Below</TitlePosition>
      <SeriesDefinitions>
        <Query>
          <Definition></Definition>
        </Query>
        <SeriesPalette>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>166</Green>
            <Blue>218</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>242</Red>
            <Green>88</Green>
            <Blue>106</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>232</Red>
            <Green>172</Green>
            <Blue>57</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>64</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>170</Red>
            <Green>85</Green>
            <Blue>85</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>192</Red>
            <Green>192</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>192</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>7</Red>
            <Green>146</Green>
            <Blue>94</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>192</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>64</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>80</Red>
            <Green>240</Green>
            <Blue>120</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>0</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>0</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>64</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>128</Red>
            <Green>128</Green>
            <Blue>128</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>64</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Entries>
          <Entries xsi:type="attribute:ColorDefinition">
            <Transparency>255</Transparency>
            <Red>255</Red>
            <Green>128</Green>
            <Blue>0</Blue>
          </Entries>
        </SeriesPalette>
        <Series>
          <Visible>true</Visible>
          <Label>
            <Caption>
              <Value></Value>
              <Font>
                <Alignment/>
              </Font>
            </Caption>
            <Background xsi:type="attribute:ColorDefinition">
              <Transparency>0</Transparency>
              <Red>255</Red>
              <Green>255</Green>
              <Blue>255</Blue>
            </Background>
            <Outline>
              <Style>Solid</Style>
              <Thickness>1</Thickness>
              <Color>
                <Transparency>255</Transparency>
                <Red>0</Red>
                <Green>0</Green>
                <Blue>0</Blue>
              </Color>
              <Visible>false</Visible>
            </Outline>
            <Insets>
              <Top>0.0</Top>
              <Left>2.0</Left>
              <Bottom>0.0</Bottom>
              <Right>3.0</Right>
            </Insets>
            <Visible>false</Visible>
          </Label>
          <SeriesIdentifier></SeriesIdentifier>
          <DataPoint>
            <Components>
              <Type>Orthogonal_Value</Type>
            </Components>
            <Separator>, </Separator>
          </DataPoint>
          <LabelPosition>Outside</LabelPosition>
          <Stacked>false</Stacked>
        </Series>
        <Grouping>
          <GroupType>Text</GroupType>
          <AggregateExpression>Sum</AggregateExpression>
        </Grouping>
      </SeriesDefinitions>
      <Orientation>Horizontal</Orientation>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Visible>true</Visible>
      </LineAttributes>
      <Label>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
      <LabelPosition>Below</LabelPosition>
      <MajorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>196</Red>
            <Green>196</Green>
            <Blue>196</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>196</Red>
            <Green>196</Green>
            <Blue>196</Blue>
          </Color>
          <Visible>true</Visible>
        </TickAttributes>
      </MajorGrid>
      <MinorGrid>
        <LineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </LineAttributes>
        <TickStyle>Across</TickStyle>
        <TickAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>225</Red>
            <Green>225</Green>
            <Blue>225</Blue>
          </Color>
          <Visible>false</Visible>
        </TickAttributes>
      </MinorGrid>
      <Scale>
        <MinorGridsPerUnit>5</MinorGridsPerUnit>
      </Scale>
      <Origin>
        <Type>Min</Type>
        <Value xsi:type="data:NumberDataElement">
          <Value>0.0</Value>
        </Value>
      </Origin>
      <PrimaryAxis>true</PrimaryAxis>
      <Percent>false</Percent>
    </AncillaryAxes>
    <SeriesDefinitions>
      <Query>
        <Definition></Definition>
      </Query>
      <SeriesPalette>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>80</Red>
          <Green>166</Green>
          <Blue>218</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>242</Red>
          <Green>88</Green>
          <Blue>106</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>232</Red>
          <Green>172</Green>
          <Blue>57</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>255</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>64</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>170</Red>
          <Green>85</Green>
          <Blue>85</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>192</Red>
          <Green>192</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>192</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>7</Red>
          <Green>146</Green>
          <Blue>94</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>128</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>0</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>64</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>80</Red>
          <Green>240</Green>
          <Blue>120</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>64</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>0</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>0</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>64</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
      </SeriesPalette>
      <Series>
        <Visible>true</Visible>
        <Label>
          <Caption>
            <Value></Value>
            <Font>
              <Alignment/>
            </Font>
          </Caption>
          <Background xsi:type="attribute:ColorDefinition">
            <Transparency>0</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Background>
          <Outline>
            <Style>Solid</Style>
            <Thickness>1</Thickness>
            <Color>
              <Transparency>255</Transparency>
              <Red>0</Red>
              <Green>0</Green>
              <Blue>0</Blue>
            </Color>
            <Visible>false</Visible>
          </Outline>
          <Insets>
            <Top>0.0</Top>
            <Left>2.0</Left>
            <Bottom>0.0</Bottom>
            <Right>3.0</Right>
          </Insets>
          <Visible>false</Visible>
        </Label>
        <DataDefinition>
          <Definition>row[&quot;category_key&quot;]</Definition>
        </DataDefinition>
        <SeriesIdentifier></SeriesIdentifier>
        <DataPoint>
          <Components>
            <Type>Orthogonal_Value</Type>
          </Components>
          <Separator>, </Separator>
        </DataPoint>
        <LabelPosition>Outside</LabelPosition>
        <Stacked>false</Stacked>
      </Series>
      <Grouping>
        <Enabled>false</Enabled>
        <GroupingInterval>1.0</GroupingInterval>
        <GroupType>Text</GroupType>
        <AggregateExpression>Sum</AggregateExpression>
      </Grouping>
      <Sorting>Descending</Sorting>
      <SortKey>
        <Definition>getKeyFiguresRowPosition(row[&quot;category_key&quot;], row[&quot;category_index&quot;])</Definition>
      </SortKey>
    </SeriesDefinitions>
    <Orientation>Horizontal</Orientation>
    <LineAttributes>
      <Style>Solid</Style>
      <Thickness>1</Thickness>
      <Visible>false</Visible>
    </LineAttributes>
    <Label>
      <Caption>
        <Value></Value>
        <Font>
          <Name>Arial</Name>
          <Size>10.0</Size>
          <Bold>false</Bold>
          <Alignment/>
        </Font>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
      </Caption>
      <Background xsi:type="attribute:ColorDefinition">
        <Transparency>0</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Background>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
      </Outline>
      <Insets>
        <Top>0.0</Top>
        <Left>0.0</Left>
        <Bottom>0.0</Bottom>
        <Right>0.0</Right>
      </Insets>
      <Visible>true</Visible>
      <Ellipsis>40</Ellipsis>
    </Label>
    <LabelPosition>Below</LabelPosition>
    <MajorGrid>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>196</Red>
          <Green>196</Green>
          <Blue>196</Blue>
        </Color>
        <Visible>false</Visible>
      </LineAttributes>
      <TickStyle>Across</TickStyle>
      <TickAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>196</Red>
          <Green>196</Green>
          <Blue>196</Blue>
        </Color>
        <Visible>false</Visible>
      </TickAttributes>
    </MajorGrid>
    <MinorGrid>
      <LineAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>225</Red>
          <Green>225</Green>
          <Blue>225</Blue>
        </Color>
        <Visible>false</Visible>
      </LineAttributes>
      <TickStyle>Across</TickStyle>
      <TickAttributes>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>225</Red>
          <Green>225</Green>
          <Blue>225</Blue>
        </Color>
        <Visible>false</Visible>
      </TickAttributes>
    </MinorGrid>
    <Scale>
      <MinorGridsPerUnit>5</MinorGridsPerUnit>
      <TickBetweenCategories>true</TickBetweenCategories>
    </Scale>
    <Origin>
      <Type>Min</Type>
      <Value xsi:type="data:NumberDataElement">
        <Value>0.0</Value>
      </Value>
    </Origin>
    <PrimaryAxis>true</PrimaryAxis>
    <CategoryAxis>true</CategoryAxis>
    <Percent>false</Percent>
  </Axes>
  <WallFill xsi:type="attribute:ColorDefinition">
    <Transparency>255</Transparency>
    <Red>192</Red>
    <Green>192</Green>
    <Blue>192</Blue>
  </WallFill>
  <FloorFill xsi:type="attribute:ColorDefinition">
    <Transparency>255</Transparency>
    <Red>192</Red>
    <Green>192</Green>
    <Blue>192</Blue>
  </FloorFill>
  <Orientation>Horizontal</Orientation>
  <UnitSpacing>60.0</UnitSpacing>
  <Rotation>
    <Angles>
      <XAngle>-20.0</XAngle>
      <YAngle>45.0</YAngle>
      <ZAngle>0.0</ZAngle>
      <Type>None</Type>
    </Angles>
  </Rotation>
</model:ChartWithAxes>
]]></xml-property>
                                    <property name="outputFormat">SVG</property>
                                    <list-property name="filter">
                                        <structure>
                                            <property name="operator">eq</property>
                                            <expression name="expr" type="javascript">row["targetgroup_index"]</expression>
                                            <simple-property-list name="value1">
                                                <value>1</value>
                                            </simple-property-list>
                                            <property name="updateAggregation">true</property>
                                        </structure>
                                        <structure>
                                            <property name="operator">is-true</property>
                                            <expression name="expr" type="javascript">row["category_index"] &lt;= CommonKeys.REVENUE_INDEX ||
row["category_index"] == CommonKeys.OPENINGS_ANONYMOUS_INDEX ||
row["category_index"] == CommonKeys.CLICKS_ANONYMOUS_INDEX</expression>
                                            <property name="updateAggregation">true</property>
                                        </structure>
                                    </list-property>
                                    <property name="inheritColumns">true</property>
                                    <property name="marginTop">0px</property>
                                    <property name="marginBottom">0px</property>
                                    <property name="height">360px</property>
                                    <property name="width">668px</property>
                                    <list-property name="visibility">
                                        <structure>
                                            <property name="format">all</property>
                                            <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("showNet") == false</expression>
                                        </structure>
                                    </list-property>
                                </extended-item>
                            </cell>
                        </row>
                    </grid>
                </cell>
            </row>
            <row id="639">
                <cell id="640">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <property name="style">full-width</property>
                    <extended-item extensionName="Crosstab" extensionVersion="3.7.0" name="SummaryData"
 id="642">
                        <property name="cube">MailingSummaryDataCube</property>
                        <property name="measures">
                            <extended-item extensionName="MeasureView" id="676">
                                <property name="measure">rate</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="677">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="content">
                                            <text-data id="828">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] >= 0 &amp;&amp;
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] != null &amp;&amp;
isCategoryDataExpired(data["categoryKey"]) == false</expression>
                                                    </structure>
                                                </list-property>
                                                <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                                            </text-data>
                                            <data id="832">
                                                <structure name="numberFormat">
                                                    <property name="category">Currency</property>
                                                    <property name="pattern">#,##0.00</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 ||
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] == null ||
data["index"] != CommonKeys.REVENUE_INDEX</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">revenue</property>
                                            </data>
                                            <data id="684">
                                                <structure name="numberFormat">
                                                    <property name="category">Currency</property>
                                                    <property name="pattern">#,##0</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 ||
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] == null ||
data["index"] == CommonKeys.REVENUE_INDEX ||
isCategoryDataExpired(data["categoryKey"]) == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="679">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                            <extended-item extensionName="MeasureView" id="681">
                                <property name="measure">value</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="682">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="content">
                                            <text-data id="829">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] >= 0 &amp;&amp;
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] != null</expression>
                                                    </structure>
                                                </list-property>
                                                <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                                            </text-data>
                                            <data id="683">
                                                <structure name="numberFormat">
                                                    <property name="category">Custom</property>
                                                    <property name="pattern">(0.0%)</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 ||
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] == null ||
isCategoryDataExpired(data["categoryKey"]) == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">rate_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="685">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="rows">
                            <extended-item extensionName="CrosstabView" id="661">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="662">
                                        <property name="dimension">CategoryGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View" id="663">
                                                <property name="level">CategoryGroup/category</property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">getKeyFiguresRowPosition(dimension["CategoryGroup"]["category"]["categoryKey"], dimension["CategoryGroup"]["category"]["category_index"])</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="664">
                                                        <property name="content">
                                                            <data name="category" id="665">
                                                                <structure name="stringFormat">
                                                                    <property name="category">Unformatted</property>
                                                                </structure>
                                                                <list-property name="highlightRules">
                                                                    <structure>
                                                                        <property name="operator">eq</property>
                                                                        <property name="color">#999999</property>
                                                                        <expression name="testExpr" type="javascript">data["index"] == CommonKeys.REVENUE_INDEX &amp;&amp; !params["isAlowedDeeptracking"].value</expression>
                                                                        <simple-property-list name="value1">
                                                                            <value type="javascript">true</value>
                                                                        </simple-property-list>
                                                                    </structure>
                                                                </list-property>
                                                                <property name="resultSetColumn">category</property>
                                                            </data>
                                                        </property>
                                                        <property name="textAlign">left</property>
                                                        <property name="borderBottomStyle">solid</property>
                                                        <property name="borderBottomWidth">1px</property>
                                                        <property name="borderBottomColor">#D3D3D3</property>
                                                    </extended-item>
                                                </property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="columns">
                            <extended-item extensionName="CrosstabView" id="666">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="667">
                                        <property name="dimension">TargetgroupGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View1" id="668">
                                                <property name="level">TargetgroupGroup/targetgroup</property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">dimension["TargetgroupGroup"]["targetgroup"]["targetgroup_index"]</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="pageBreakBefore">auto</property>
                                                <property name="pageBreakAfter">auto</property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="669">
                                                        <property name="content">
                                                            <data name="targetgroup" id="670">
                                                                <property name="resultSetColumn">targetgroup</property>
                                                            </data>
                                                        </property>
                                                        <property name="style">table-head crosstab-header</property>
                                                    </extended-item>
                                                </property>
                                                <property name="pageBreakInterval">4</property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="header">
                            <extended-item extensionName="CrosstabCell" id="643">
                                <property name="content">
                                    <text-data id="686">
                                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("KeydataGeneral", reportContext.getLocale())</expression>
                                    </text-data>
                                </property>
                                <property name="style">table-head</property>
                            </extended-item>
                        </property>
                        <method name="onCreate"><![CDATA[
/**
 * Called when crosstab cell is being created.
 *
 * @param cellInst
 *            ICrosstabCellInstance
 * @param reportContext
 *            IReportContext
 */

function onCreateCell( cellInst, reportContext )
{
    var proxyOpenersMessage = Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.opener.proxy", reportContext.getLocale());
	if( proxyOpenersMessage == cellInst.getDataValue("category") ) {
        cellInst.getStyle().setPaddingLeft("40px");
	}
}
]]></method>
                        <property name="filter">
                            <filter-condition-element>
                                <expression name="expr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] &lt;= CommonKeys.REVENUE_INDEX ||
dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.OPENINGS_ANONYMOUS_INDEX || dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.OPENERS_PROXY_INDEX ||
dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.CLICKS_ANONYMOUS_INDEX</expression>
                                <property name="operator">is-true</property>
                            </filter-condition-element>
                        </property>
                        <property name="pageBreakBefore">always</property>
                        <property name="pageBreakAfter">auto</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("showGross") == false</expression>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">category</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">targetgroup</property>
                                <expression name="expression">dimension["TargetgroupGroup"]["targetgroup"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["value"]</expression>
                                    </structure>
                                </list-property>
                            </structure>
                            <structure>
                                <property name="name">rate_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["rate"]</expression>
                                    </structure>
                                </list-property>
                                <expression name="filterExpr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] &lt; CommonKeys.REVENUE_INDEX &amp;&amp;
hasPercentageRepresentation(dimension["CategoryGroup"]["category"]["categoryKey"])</expression>
                            </structure>
                            <structure>
                                <property name="name">index</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category_index"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">revenue</property>
                                <expression name="expression" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"]/100</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">categoryKey</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["categoryKey"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">Column Binding</property>
                                <text-property name="displayName">Proxy_openers</text-property>
                                <expression name="expression" type="javascript">1</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="style">table table-striped</property>
                    </extended-item>
                    <extended-item extensionName="Crosstab" extensionVersion="3.7.0" name="SummaryDataDelivered"
 id="1089">
                        <property name="cube">MailingSummaryDataCube</property>
                        <property name="measures">
                            <extended-item extensionName="MeasureView" id="1090">
                                <property name="measure">rate</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="1091">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="content">
                                            <text-data id="1092">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] >= 0 &amp;&amp;
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] != null &amp;&amp;
isCategoryDataExpired(data["categoryKey"]) == false</expression>
                                                    </structure>
                                                </list-property>
                                                <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                                            </text-data>
                                            <data id="1093">
                                                <structure name="numberFormat">
                                                    <property name="category">Currency</property>
                                                    <property name="pattern">#,##0.00</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 ||
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] == null ||
data["index"] != CommonKeys.REVENUE_INDEX</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">revenue</property>
                                            </data>
                                            <data id="1094">
                                                <structure name="numberFormat">
                                                    <property name="category">Currency</property>
                                                    <property name="pattern">#,##0</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 ||
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] == null ||
data["index"] == CommonKeys.REVENUE_INDEX ||
isCategoryDataExpired(data["categoryKey"]) == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="1095">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                            <extended-item extensionName="MeasureView" id="1096">
                                <property name="measure">value</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="1097">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="content">
                                            <text-data id="1098">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] >= 0 &amp;&amp;
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] != null</expression>
                                                    </structure>
                                                </list-property>
                                                <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                                            </text-data>
                                            <data id="1116">
                                                <structure name="numberFormat">
                                                    <property name="category">Custom</property>
                                                    <property name="pattern">(0.0%)</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 ||
data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] == null ||
isCategoryDataExpired(data["categoryKey"]) == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">deliveredRate_Binding</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="1100">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="rows">
                            <extended-item extensionName="CrosstabView" id="1101">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="1102">
                                        <property name="dimension">CategoryGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View2" id="1103">
                                                <property name="level">CategoryGroup/category</property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">getKeyFiguresRowPosition(dimension["CategoryGroup"]["category"]["categoryKey"], dimension["CategoryGroup"]["category"]["category_index"])</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="1104">
                                                        <property name="content">
                                                            <data name="category1" id="1105">
                                                                <structure name="stringFormat">
                                                                    <property name="category">Unformatted</property>
                                                                </structure>
                                                                <list-property name="highlightRules">
                                                                    <structure>
                                                                        <property name="operator">eq</property>
                                                                        <property name="color">#999999</property>
                                                                        <expression name="testExpr" type="javascript">data["index"] == CommonKeys.REVENUE_INDEX &amp;&amp; !params["isAlowedDeeptracking"].value</expression>
                                                                        <simple-property-list name="value1">
                                                                            <value type="javascript">true</value>
                                                                        </simple-property-list>
                                                                    </structure>
                                                                </list-property>
                                                                <property name="resultSetColumn">category</property>
                                                            </data>
                                                        </property>
                                                        <property name="textAlign">left</property>
                                                        <property name="borderBottomStyle">solid</property>
                                                        <property name="borderBottomWidth">1px</property>
                                                        <property name="borderBottomColor">#D3D3D3</property>
                                                    </extended-item>
                                                </property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="columns">
                            <extended-item extensionName="CrosstabView" id="1106">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="1107">
                                        <property name="dimension">TargetgroupGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View11" id="1108">
                                                <property name="level">TargetgroupGroup/targetgroup</property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">dimension["TargetgroupGroup"]["targetgroup"]["targetgroup_index"]</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="pageBreakBefore">auto</property>
                                                <property name="pageBreakAfter">auto</property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="1109">
                                                        <property name="content">
                                                            <data name="targetgroup1" id="1110">
                                                                <property name="resultSetColumn">targetgroup</property>
                                                            </data>
                                                        </property>
                                                        <property name="style">table-head crosstab-header</property>
                                                    </extended-item>
                                                </property>
                                                <property name="pageBreakInterval">4</property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="header">
                            <extended-item extensionName="CrosstabCell" id="1111">
                                <property name="content">
                                    <text-data id="1112">
                                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("KeydataGeneral", reportContext.getLocale())</expression>
                                    </text-data>
                                </property>
                                <property name="style">table-head</property>
                            </extended-item>
                        </property>
                        <property name="filter">
                            <filter-condition-element>
                                <expression name="expr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] &lt;= CommonKeys.REVENUE_INDEX ||
dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.OPENINGS_ANONYMOUS_INDEX || dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.OPENERS_PROXY_INDEX ||
dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.CLICKS_ANONYMOUS_INDEX</expression>
                                <property name="operator">is-true</property>
                            </filter-condition-element>
                        </property>
                        <property name="pageBreakBefore">always</property>
                        <property name="pageBreakAfter">auto</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("showNet") == false</expression>
                            </structure>
                        </list-property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">category</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">targetgroup</property>
                                <expression name="expression">dimension["TargetgroupGroup"]["targetgroup"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["value"]</expression>
                                    </structure>
                                </list-property>
                            </structure>
                            <structure>
                                <property name="name">index</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category_index"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">revenue</property>
                                <expression name="expression" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"]/100</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">deliveredRate_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["deliveredRate"]</expression>
                                    </structure>
                                </list-property>
                                <expression name="filterExpr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] &lt; CommonKeys.REVENUE_INDEX</expression>
                            </structure>
                            <structure>
                                <property name="name">Column Binding</property>
                                <expression name="expression" type="javascript">measure["deliveredRate"]</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">deliveredRate_Binding</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["deliveredRate"]</expression>
                                    </structure>
                                </list-property>
                                <expression name="filterExpr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] &lt; CommonKeys.REVENUE_INDEX &amp;&amp; 
hasPercentageRepresentation(dimension["CategoryGroup"]["category"]["categoryKey"])</expression>
                            </structure>
                            <structure>
                                <property name="name">categoryKey</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["categoryKey"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="style">table table-striped</property>
                    </extended-item>
                </cell>
            </row>
            <row id="974">
                <list-property name="visibility">
                    <structure>
                        <property name="format">all</property>
                        <expression name="valueExpr" type="javascript">onepixelStatisticExpired == true</expression>
                    </structure>
                </list-property>
                <cell id="975">
                    <property name="style">half-width</property>
                    <grid id="977">
                        <property name="style">table</property>
                        <column id="978"/>
                        <row id="987">
                            <cell id="988">
                                <property name="style">report-title</property>
                                <text-data id="991">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.mailing.openersByDevices", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                        </row>
                        <row id="979">
                            <cell id="980">
                                <property name="textAlign">center</property>
                                <extended-item extensionName="Chart" name="OpeningsChart" id="823">
                                    <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithoutAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/ChartModelType">
  <Version>2.6.1</Version>
  <Type>Pie Chart</Type>
  <SubType>Standard</SubType>
  <Description>
    <Value></Value>
    <Font>
      <Alignment/>
    </Font>
  </Description>
  <Block>
    <Children xsi:type="layout:TitleBlock">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Anchor>South</Anchor>
      <Insets>
        <Top>0.0</Top>
        <Left>0.0</Left>
        <Bottom>0.0</Bottom>
        <Right>0.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>false</Visible>
      <Label>
        <Caption>
          <Value>report.opens=Pie Chart Title</Value>
          <Font>
            <Size>16.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Top</verticalAlignment>
            </Alignment>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>0.0</Left>
          <Bottom>0.0</Bottom>
          <Right>0.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
    </Children>
    <Children xsi:type="layout:Plot">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>true</Visible>
      <HorizontalSpacing>5</HorizontalSpacing>
      <VerticalSpacing>5</VerticalSpacing>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>0.0</Left>
          <Bottom>0.0</Bottom>
          <Right>0.0</Right>
        </Insets>
      </ClientArea>
    </Children>
    <Children xsi:type="layout:Legend">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>false</Visible>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>2.0</Top>
          <Left>2.0</Left>
          <Bottom>2.0</Bottom>
          <Right>2.0</Right>
        </Insets>
      </ClientArea>
      <Text>
        <Value></Value>
        <Font>
          <Alignment/>
        </Font>
      </Text>
      <Orientation>Vertical</Orientation>
      <Direction>Top_Bottom</Direction>
      <Separator>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>true</Visible>
      </Separator>
      <Position>Right</Position>
      <ItemType>Categories</ItemType>
      <Title>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Above</TitlePosition>
    </Children>
    <Bounds>
      <Left>0.0</Left>
      <Top>0.0</Top>
      <Width>315.0</Width>
      <Height>150.0</Height>
    </Bounds>
    <Insets>
      <Top>3.0</Top>
      <Left>3.0</Left>
      <Bottom>3.0</Bottom>
      <Right>3.0</Right>
    </Insets>
    <Row>-1</Row>
    <Column>-1</Column>
    <Rowspan>-1</Rowspan>
    <Columnspan>-1</Columnspan>
    <Outline>
      <Style>Solid</Style>
      <Thickness>1</Thickness>
      <Color>
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>0</Green>
        <Blue>0</Blue>
      </Color>
      <Visible>false</Visible>
    </Outline>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>0</Transparency>
      <Red>255</Red>
      <Green>255</Green>
      <Blue>255</Blue>
    </Background>
    <Visible>true</Visible>
  </Block>
  <Dimension>Two_Dimensional</Dimension>
  <Script>importPackage( Packages.org.eclipse.birt.chart.model.attribute.impl );
importPackage( Packages.org.eclipse.birt.chart.model.attribute );
importPackage( Packages.org.eclipse.birt.report.model.api.util );
importPackage(Packages.java.util);
importPackage(Packages.org.eclipse.birt.chart.model.data.impl);
importPackage( Packages.java.lang );
importPackage( Packages.java.text);

/**
 * Called before rendering Series.
 * 
 * @param series
 *            Series
 * @param isr
 *            ISeriesRenderer
 * @param icsc
 *            IChartScriptContext
 */
function beforeGeneration( chart, icsc )
{
	reportContext = icsc.getExternalContext().getObject();
	
	sd = chart.getSeriesDefinitions( ).get( 0 );
	sd.getSeriesPalette( ).getEntries( ).clear( );
	
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-blue&quot;));		
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-petrol&quot;));
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-light-green&quot;));
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-dark-green&quot;));			
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-orange&quot;));			
}

function getColorDefinition( styleName ) {
	var color = ColorUtil.format(this.getDesignHandle().findStyle(styleName).getColor().getRGB(),ColorUtil.HTML_FORMAT);
	var red = &quot;0x&quot;+color.substr(1,2);
	var green = &quot;0x&quot;+color.substr(3,2);
	var blue = &quot;0x&quot;+color.substr(5,2);
	return ColorDefinitionImpl.create(red,green,blue);
}

/**
 * Called before rendering the label for each datapoint.
 * 
 * @param dph
 *            DataPointHints
 * @param label
 *            Label
 * @param icsc
 *            IChartScriptContext
 */
function beforeDrawDataPointLabel( dph, label, icsc )
{
	importPackage(Packages.com.agnitas.reporting.birt.external.dataset);

	var labelText = label.getCaption().getValue();
	var cIndex = labelText.subSequence(labelText.lastIndexOf(&quot;%&quot;) + 2, labelText.lastIndexOf(&quot;%&quot;) + 4);
	var messageKey = &quot;&quot;;
	if(cIndex == CommonKeys.OPENERS_PC_INDEX){
		messageKey = &quot;statistic.pc&quot;;
	} else if(cIndex == CommonKeys.OPENERS_MOBILE_INDEX){
		messageKey = &quot;report.opens.mobile.chartLabel&quot;;
	} else if(cIndex == CommonKeys.OPENERS_TABLET_INDEX){
		messageKey = &quot;report.opens.tablet.chartLabel&quot;;
	} else if(cIndex == CommonKeys.OPENERS_SMARTTV_INDEX){
		messageKey = &quot;statistic.smarttv&quot;;
	} else if (cIndex == CommonKeys.OPENERS_PC_AND_MOBILE_INDEX) {
		messageKey = &quot;report.opens.pc.and.mobile.chartLabel&quot;;
	}
	var reportContext =  icsc.getExternalContext().getObject();	
	var message = Packages.com.agnitas.messages.I18nString.getLocaleString(messageKey, reportContext.getLocale());
	labelText = labelText.subSequence(0, labelText.lastIndexOf(&quot;%&quot;) + 1) + &quot; &quot; + message;
	//labelText = labelText.subSequence(0, labelText.lastIndexOf(&quot;%&quot;) + 1) + &quot;\n&quot; + message;
	label.getCaption().setValue(labelText);
	
	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		label.getCaption().getColor().set(255, 255, 255);
	}
}

function beforeDrawMarkerLine(axis, line, icsc) {
	var reportContext = icsc.getExternalContext().getObject();
	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		line.getLabel().getCaption().getColor().set(255, 255, 255);
	}
};
</Script>
  <Units>Points</Units>
  <SeriesThickness>20.0</SeriesThickness>
  <GridColumnCount>0</GridColumnCount>
  <ExtendedProperties>
    <Name>enable.area.alt</Name>
    <Value>false</Value>
  </ExtendedProperties>
  <SampleData>
    <BaseSampleData>
      <DataSetRepresentation>'A','B','C','D','E'</DataSetRepresentation>
    </BaseSampleData>
    <OrthogonalSampleData>
      <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation>
      <SeriesDefinitionIndex>0</SeriesDefinitionIndex>
    </OrthogonalSampleData>
  </SampleData>
  <Interactivity>
    <Enable>true</Enable>
    <LegendBehavior>None</LegendBehavior>
  </Interactivity>
  <EmptyMessage>
    <Caption>
      <Value>No data available.</Value>
      <Font>
        <Alignment>
          <horizontalAlignment>Center</horizontalAlignment>
          <verticalAlignment>Center</verticalAlignment>
        </Alignment>
      </Font>
    </Caption>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>64</Transparency>
      <Red>127</Red>
      <Green>127</Green>
      <Blue>127</Blue>
    </Background>
    <Outline>
      <Color>
        <Transparency>128</Transparency>
        <Red>127</Red>
        <Green>127</Green>
        <Blue>127</Blue>
      </Color>
      <Visible>true</Visible>
    </Outline>
    <Insets>
      <Top>10.0</Top>
      <Left>10.0</Left>
      <Bottom>10.0</Bottom>
      <Right>10.0</Right>
    </Insets>
    <Visible>true</Visible>
  </EmptyMessage>
  <SeriesDefinitions>
    <Query>
      <Definition></Definition>
    </Query>
    <SeriesPalette>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>204</Green>
        <Blue>153</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>153</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>204</Green>
        <Blue>0</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>204</Red>
        <Green>255</Green>
        <Blue>204</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>154</Red>
        <Green>204</Green>
        <Blue>0</Blue>
      </Entries>
    </SeriesPalette>
    <SeriesDefinitions>
      <Query>
        <Definition></Definition>
        <Grouping>
          <GroupType>Numeric</GroupType>
        </Grouping>
      </Query>
      <SeriesPalette>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>204</Green>
          <Blue>153</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>153</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>204</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>204</Red>
          <Green>255</Green>
          <Blue>204</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>154</Red>
          <Green>204</Green>
          <Blue>0</Blue>
        </Entries>
      </SeriesPalette>
      <Series xsi:type="type:PieSeries">
        <Visible>true</Visible>
        <Label>
          <Caption>
            <Value></Value>
            <Font>
              <Name>Arial</Name>
              <Size>10.0</Size>
              <Bold>false</Bold>
              <Alignment/>
              <Rotation>0.0</Rotation>
            </Font>
          </Caption>
          <Background xsi:type="attribute:ColorDefinition">
            <Transparency>0</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Background>
          <Outline>
            <Style>Solid</Style>
            <Thickness>1</Thickness>
            <Color>
              <Transparency>255</Transparency>
              <Red>0</Red>
              <Green>0</Green>
              <Blue>0</Blue>
            </Color>
            <Visible>false</Visible>
          </Outline>
          <Insets>
            <Top>5.0</Top>
            <Left>5.0</Left>
            <Bottom>5.0</Bottom>
            <Right>5.0</Right>
          </Insets>
          <Visible>true</Visible>
        </Label>
        <DataDefinition>
          <Definition>row[&quot;rate&quot;]</Definition>
          <Grouping>
            <Enabled>false</Enabled>
            <GroupType>Text</GroupType>
            <AggregateExpression xsi:nil="true"/>
          </Grouping>
        </DataDefinition>
        <SeriesIdentifier>Series 1</SeriesIdentifier>
        <DataPoint>
          <Components>
            <Type>Orthogonal_Value</Type>
            <FormatSpecifier xsi:type="attribute:JavaNumberFormatSpecifier">
              <Pattern>##.#%</Pattern>
            </FormatSpecifier>
          </Components>
          <Components>
            <Type>Base_Value</Type>
          </Components>
          <Prefix></Prefix>
          <Suffix></Suffix>
          <Separator> </Separator>
        </DataPoint>
        <LabelPosition>Outside</LabelPosition>
        <Stacked>false</Stacked>
        <Triggers>
          <Condition>onmouseover</Condition>
          <Action>
            <Type>Highlight</Type>
            <Value xsi:type="attribute:SeriesValue">
              <Name></Name>
            </Value>
          </Action>
        </Triggers>
        <Cursor>
          <Type>Auto</Type>
        </Cursor>
        <Explosion>0</Explosion>
        <ExplosionExpression></ExplosionExpression>
        <Title>
          <Caption>
            <Value></Value>
            <Font>
              <Size>16.0</Size>
              <Bold>true</Bold>
              <Alignment/>
            </Font>
          </Caption>
          <Background xsi:type="attribute:ColorDefinition">
            <Transparency>0</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Background>
          <Outline>
            <Style>Solid</Style>
            <Thickness>1</Thickness>
            <Color>
              <Transparency>255</Transparency>
              <Red>0</Red>
              <Green>0</Green>
              <Blue>0</Blue>
            </Color>
          </Outline>
          <Insets>
            <Top>0.0</Top>
            <Left>2.0</Left>
            <Bottom>0.0</Bottom>
            <Right>3.0</Right>
          </Insets>
          <Visible>false</Visible>
        </Title>
        <TitlePosition>Below</TitlePosition>
        <LeaderLineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>136</Red>
            <Green>136</Green>
            <Blue>136</Blue>
          </Color>
          <Visible>true</Visible>
        </LeaderLineAttributes>
        <LeaderLineStyle>Fixed_Length</LeaderLineStyle>
        <LeaderLineLength>0.0</LeaderLineLength>
        <SliceOutline>
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </SliceOutline>
        <Ratio>1.0</Ratio>
        <Rotation>0.0</Rotation>
        <Clockwise>false</Clockwise>
        <InnerRadius>60.0</InnerRadius>
      </Series>
    </SeriesDefinitions>
    <Series>
      <Visible>true</Visible>
      <Label>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Label>
      <DataDefinition>
        <Definition>row[&quot;category_index&quot;]</Definition>
      </DataDefinition>
      <SeriesIdentifier></SeriesIdentifier>
      <DataPoint>
        <Components>
          <Type>Orthogonal_Value</Type>
        </Components>
        <Separator>, </Separator>
      </DataPoint>
      <LabelPosition>Outside</LabelPosition>
      <Stacked>false</Stacked>
    </Series>
    <Grouping>
      <Enabled>false</Enabled>
      <GroupType>Numeric</GroupType>
      <AggregateExpression>Sum</AggregateExpression>
    </Grouping>
    <Sorting>Ascending</Sorting>
    <SortKey>
      <Definition>row[&quot;category_index&quot;]</Definition>
    </SortKey>
  </SeriesDefinitions>
  <MinSlicePercent>false</MinSlicePercent>
  <Coverage>0.65</Coverage>
</model:ChartWithoutAxes>
]]></xml-property>
                                    <property name="outputFormat">SVG</property>
                                    <list-property name="filter">
                                        <structure>
                                            <property name="operator">is-true</property>
                                            <expression name="expr" type="javascript">row["category_index"] == CommonKeys.OPENERS_PC_INDEX || row["category_index"] == CommonKeys.OPENERS_TABLET_INDEX || row["category_index"] == CommonKeys.OPENERS_MOBILE_INDEX || row["category_index"] == CommonKeys.OPENERS_SMARTTV_INDEX || row["category_index"] == CommonKeys.OPENERS_PC_AND_MOBILE_INDEX</expression>
                                        </structure>
                                        <structure>
                                            <property name="operator">eq</property>
                                            <expression name="expr" type="javascript">row["targetgroup_index"]</expression>
                                            <simple-property-list name="value1">
                                                <value>1</value>
                                            </simple-property-list>
                                            <property name="updateAggregation">true</property>
                                        </structure>
                                    </list-property>
                                    <property name="inheritColumns">false</property>
                                    <property name="height">320px</property>
                                    <property name="width">668px</property>
                                    <property name="dataSet">MailingSummaryDataSet</property>
                                    <list-property name="boundDataColumns">
                                        <structure>
                                            <property name="name">category</property>
                                            <expression name="expression" type="javascript">dataSetRow["category"]</expression>
                                            <property name="dataType">string</property>
                                        </structure>
                                        <structure>
                                            <property name="name">category_index</property>
                                            <expression name="expression" type="javascript">dataSetRow["category_index"]</expression>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">targetgroup</property>
                                            <expression name="expression" type="javascript">dataSetRow["targetgroup"]</expression>
                                            <property name="dataType">string</property>
                                        </structure>
                                        <structure>
                                            <property name="name">targetgroup_index</property>
                                            <expression name="expression" type="javascript">dataSetRow["targetgroup_index"]</expression>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">value</property>
                                            <expression name="expression" type="javascript">dataSetRow["value"]</expression>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">rate</property>
                                            <expression name="expression" type="javascript">dataSetRow["rate"]</expression>
                                            <property name="dataType">float</property>
                                        </structure>
                                    </list-property>
                                </extended-item>
                            </cell>
                        </row>
                    </grid>
                </cell>
                <cell id="976">
                    <property name="style">half-width</property>
                    <grid id="981">
                        <property name="style">table</property>
                        <column id="982"/>
                        <row id="989">
                            <cell id="990">
                                <property name="style">report-title</property>
                                <text-data id="992">
                                    <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.mailing.clickersByDevices", reportContext.getLocale())</expression>
                                </text-data>
                            </cell>
                        </row>
                        <row id="983">
                            <cell id="984">
                                <property name="textAlign">center</property>
                                <extended-item extensionName="Chart" name="ClickingChart" id="824">
                                    <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithoutAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/ChartModelType">
  <Version>2.6.1</Version>
  <Type>Pie Chart</Type>
  <SubType>Standard</SubType>
  <Description>
    <Value></Value>
    <Font>
      <Alignment/>
    </Font>
  </Description>
  <Block>
    <Children xsi:type="layout:TitleBlock">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Anchor>South</Anchor>
      <Insets>
        <Top>0.0</Top>
        <Left>0.0</Left>
        <Bottom>0.0</Bottom>
        <Right>0.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>false</Visible>
      <Label>
        <Caption>
          <Value>report.clicker=Pie Chart Title</Value>
          <Font>
            <Size>16.0</Size>
            <Bold>true</Bold>
            <Alignment>
              <horizontalAlignment>Center</horizontalAlignment>
              <verticalAlignment>Top</verticalAlignment>
            </Alignment>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>0.0</Left>
          <Bottom>0.0</Bottom>
          <Right>0.0</Right>
        </Insets>
        <Visible>true</Visible>
      </Label>
    </Children>
    <Children xsi:type="layout:Plot">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>true</Visible>
      <HorizontalSpacing>5</HorizontalSpacing>
      <VerticalSpacing>5</VerticalSpacing>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>0.0</Left>
          <Bottom>0.0</Bottom>
          <Right>0.0</Right>
        </Insets>
      </ClientArea>
    </Children>
    <Children xsi:type="layout:Legend">
      <Bounds>
        <Left>0.0</Left>
        <Top>0.0</Top>
        <Width>0.0</Width>
        <Height>0.0</Height>
      </Bounds>
      <Insets>
        <Top>3.0</Top>
        <Left>3.0</Left>
        <Bottom>3.0</Bottom>
        <Right>3.0</Right>
      </Insets>
      <Row>-1</Row>
      <Column>-1</Column>
      <Rowspan>-1</Rowspan>
      <Columnspan>-1</Columnspan>
      <Outline>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>false</Visible>
      </Outline>
      <Visible>false</Visible>
      <ClientArea>
        <Outline>
          <Style>Solid</Style>
          <Thickness>0</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>2.0</Top>
          <Left>2.0</Left>
          <Bottom>2.0</Bottom>
          <Right>2.0</Right>
        </Insets>
      </ClientArea>
      <Text>
        <Value></Value>
        <Font>
          <Alignment/>
        </Font>
      </Text>
      <Orientation>Vertical</Orientation>
      <Direction>Top_Bottom</Direction>
      <Separator>
        <Style>Solid</Style>
        <Thickness>1</Thickness>
        <Color>
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Color>
        <Visible>true</Visible>
      </Separator>
      <Position>Right</Position>
      <ItemType>Categories</ItemType>
      <Title>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Title>
      <TitlePosition>Above</TitlePosition>
    </Children>
    <Bounds>
      <Left>0.0</Left>
      <Top>0.0</Top>
      <Width>315.0</Width>
      <Height>150.0</Height>
    </Bounds>
    <Insets>
      <Top>3.0</Top>
      <Left>3.0</Left>
      <Bottom>3.0</Bottom>
      <Right>3.0</Right>
    </Insets>
    <Row>-1</Row>
    <Column>-1</Column>
    <Rowspan>-1</Rowspan>
    <Columnspan>-1</Columnspan>
    <Outline>
      <Style>Solid</Style>
      <Thickness>1</Thickness>
      <Color>
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>0</Green>
        <Blue>0</Blue>
      </Color>
      <Visible>false</Visible>
    </Outline>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>0</Transparency>
      <Red>255</Red>
      <Green>255</Green>
      <Blue>255</Blue>
    </Background>
    <Visible>true</Visible>
  </Block>
  <Dimension>Two_Dimensional</Dimension>
  <Script>importPackage( Packages.org.eclipse.birt.chart.model.attribute.impl );
importPackage( Packages.org.eclipse.birt.chart.model.attribute );
importPackage( Packages.org.eclipse.birt.report.model.api.util );
importPackage(Packages.java.util);
importPackage(Packages.org.eclipse.birt.chart.model.data.impl);
importPackage( Packages.java.lang );
importPackage( Packages.java.text);



/**
 * Called before rendering Series.
 * 
 * @param series
 *            Series
 * @param isr
 *            ISeriesRenderer
 * @param icsc
 *            IChartScriptContext
 */


function beforeGeneration( chart, icsc )
{
	reportContext = icsc.getExternalContext().getObject();
	
	sd = chart.getSeriesDefinitions( ).get( 0 );
	sd.getSeriesPalette( ).getEntries( ).clear( );	
			
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-blue&quot;));		
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-petrol&quot;));
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-light-green&quot;));
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-dark-green&quot;));			
	sd.getSeriesPalette().getEntries().add(getColorDefinition(&quot;color-orange&quot;));
}

function getColorDefinition( styleName ) {
	var color = ColorUtil.format(this.getDesignHandle().findStyle(styleName).getColor().getRGB(),ColorUtil.HTML_FORMAT);
	var red = &quot;0x&quot;+color.substr(1,2);
	var green = &quot;0x&quot;+color.substr(3,2);
	var blue = &quot;0x&quot;+color.substr(5,2);
	return ColorDefinitionImpl.create(red,green,blue);
}

/**
 * Called before rendering the label for each datapoint.
 * 
 * @param dph
 *            DataPointHints
 * @param label
 *            Label
 * @param icsc
 *            IChartScriptContext
 */

function beforeDrawDataPointLabel( dph, label, icsc )
{
    importPackage(Packages.com.agnitas.reporting.birt.external.dataset);
	var labelText = label.getCaption().getValue();
	var cIndex = labelText.subSequence(labelText.lastIndexOf(&quot;%&quot;) + 2, labelText.lastIndexOf(&quot;%&quot;) + 4);
	var messageKey = &quot;&quot;;
	if(cIndex == CommonKeys.CLICKER_PC_INDEX){
		messageKey = &quot;statistic.pc&quot;;
	} else if(cIndex == CommonKeys.CLICKER_MOBILE_INDEX){
		messageKey = &quot;report.opens.mobile.chartLabel&quot;;
	}else if(cIndex == CommonKeys.CLICKER_TABLET_INDEX) {
		messageKey = &quot;report.opens.tablet.chartLabel&quot;;
	}else if(cIndex == CommonKeys.CLICKER_SMARTTV_INDEX) {
		messageKey = &quot;statistic.smarttv&quot;;
	} else {
		messageKey = &quot;report.opens.pc.and.mobile.chartLabel&quot;;
	} 
	var reportContext =  icsc.getExternalContext().getObject();	
	var message = Packages.com.agnitas.messages.I18nString.getLocaleString(messageKey, reportContext.getLocale());
	labelText = labelText.subSequence(0, labelText.lastIndexOf(&quot;%&quot;) + 1) + &quot; &quot; + message;
	//labelText = labelText.subSequence(0, labelText.lastIndexOf(&quot;%&quot;) + 1) + &quot;\n&quot; + message;
	//labelText = labelText.subSequence(0, labelText.lastIndexOf(&quot;%&quot;) + 1) + &quot;\n&quot; + labelText.substring(labelText.lastIndexOf(&quot;(&quot;));
	label.getCaption().setValue(labelText);

	if(reportContext.getGlobalVariable(&quot;isDarkmode&quot;) == true){
		label.getCaption().getColor().set(255, 255, 255);
	}
}
</Script>
  <Units>Points</Units>
  <SeriesThickness>20.0</SeriesThickness>
  <GridColumnCount>0</GridColumnCount>
  <ExtendedProperties>
    <Name>enable.area.alt</Name>
    <Value>false</Value>
  </ExtendedProperties>
  <SampleData>
    <BaseSampleData>
      <DataSetRepresentation>'A','B','C','D','E'</DataSetRepresentation>
    </BaseSampleData>
    <OrthogonalSampleData>
      <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation>
      <SeriesDefinitionIndex>0</SeriesDefinitionIndex>
    </OrthogonalSampleData>
  </SampleData>
  <Interactivity>
    <Enable>true</Enable>
    <LegendBehavior>None</LegendBehavior>
  </Interactivity>
  <EmptyMessage>
    <Caption>
      <Value>This chart contains no data.</Value>
      <Font>
        <Alignment>
          <horizontalAlignment>Center</horizontalAlignment>
          <verticalAlignment>Center</verticalAlignment>
        </Alignment>
      </Font>
    </Caption>
    <Background xsi:type="attribute:ColorDefinition">
      <Transparency>64</Transparency>
      <Red>127</Red>
      <Green>127</Green>
      <Blue>127</Blue>
    </Background>
    <Outline>
      <Color>
        <Transparency>128</Transparency>
        <Red>127</Red>
        <Green>127</Green>
        <Blue>127</Blue>
      </Color>
      <Visible>true</Visible>
    </Outline>
    <Insets>
      <Top>10.0</Top>
      <Left>10.0</Left>
      <Bottom>10.0</Bottom>
      <Right>10.0</Right>
    </Insets>
    <Visible>false</Visible>
  </EmptyMessage>
  <SeriesDefinitions>
    <Query>
      <Definition></Definition>
    </Query>
    <SeriesPalette>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>254</Red>
        <Green>204</Green>
        <Blue>153</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>254</Red>
        <Green>254</Green>
        <Blue>153</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>232</Red>
        <Green>172</Green>
        <Blue>57</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>255</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>154</Red>
        <Green>204</Green>
        <Blue>0</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>128</Green>
        <Blue>192</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>170</Red>
        <Green>85</Green>
        <Blue>85</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>128</Green>
        <Blue>0</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>192</Red>
        <Green>192</Green>
        <Blue>192</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>192</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>7</Red>
        <Green>146</Green>
        <Blue>94</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>128</Green>
        <Blue>255</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>128</Green>
        <Blue>192</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>128</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>128</Green>
        <Blue>192</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>128</Green>
        <Blue>192</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>0</Green>
        <Blue>255</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>64</Green>
        <Blue>64</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>128</Green>
        <Blue>64</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>80</Red>
        <Green>240</Green>
        <Blue>120</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>64</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>0</Green>
        <Blue>64</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>0</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>128</Green>
        <Blue>64</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>128</Red>
        <Green>128</Green>
        <Blue>128</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>128</Green>
        <Blue>255</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>64</Green>
        <Blue>0</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>0</Red>
        <Green>0</Green>
        <Blue>0</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>128</Green>
        <Blue>0</Blue>
      </Entries>
      <Entries xsi:type="attribute:ColorDefinition">
        <Transparency>255</Transparency>
        <Red>255</Red>
        <Green>255</Green>
        <Blue>255</Blue>
      </Entries>
    </SeriesPalette>
    <SeriesDefinitions>
      <Query>
        <Definition></Definition>
        <Grouping>
          <GroupType>Numeric</GroupType>
        </Grouping>
      </Query>
      <SeriesPalette>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>254</Red>
          <Green>204</Green>
          <Blue>153</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>254</Red>
          <Green>254</Green>
          <Blue>153</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>232</Red>
          <Green>172</Green>
          <Blue>57</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>255</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>154</Red>
          <Green>204</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>170</Red>
          <Green>85</Green>
          <Blue>85</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>192</Red>
          <Green>192</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>192</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>7</Red>
          <Green>146</Green>
          <Blue>94</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>128</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>192</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>0</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>64</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>80</Red>
          <Green>240</Green>
          <Blue>120</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>64</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>0</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>0</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>64</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>128</Red>
          <Green>128</Green>
          <Blue>128</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>64</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>0</Red>
          <Green>0</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>128</Green>
          <Blue>0</Blue>
        </Entries>
        <Entries xsi:type="attribute:ColorDefinition">
          <Transparency>255</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Entries>
      </SeriesPalette>
      <Series xsi:type="type:PieSeries">
        <Visible>true</Visible>
        <Label>
          <Caption>
            <Value></Value>
            <Font>
              <Name>Arial</Name>
              <Size>10.0</Size>
              <Bold>false</Bold>
              <Alignment/>
              <Rotation>0.0</Rotation>
            </Font>
          </Caption>
          <Background xsi:type="attribute:ColorDefinition">
            <Transparency>0</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Background>
          <Outline>
            <Style>Solid</Style>
            <Thickness>1</Thickness>
            <Color>
              <Transparency>255</Transparency>
              <Red>0</Red>
              <Green>0</Green>
              <Blue>0</Blue>
            </Color>
            <Visible>false</Visible>
          </Outline>
          <Insets>
            <Top>5.0</Top>
            <Left>5.0</Left>
            <Bottom>5.0</Bottom>
            <Right>5.0</Right>
          </Insets>
          <Visible>true</Visible>
        </Label>
        <DataDefinition>
          <Definition>row[&quot;rate&quot;]</Definition>
          <Grouping>
            <GroupType>Text</GroupType>
            <AggregateExpression>Sum</AggregateExpression>
          </Grouping>
        </DataDefinition>
        <SeriesIdentifier>Series 1</SeriesIdentifier>
        <DataPoint>
          <Components>
            <Type>Orthogonal_Value</Type>
            <FormatSpecifier xsi:type="attribute:JavaNumberFormatSpecifier">
              <Pattern>##.#%</Pattern>
            </FormatSpecifier>
          </Components>
          <Components>
            <Type>Base_Value</Type>
          </Components>
          <Prefix></Prefix>
          <Suffix></Suffix>
          <Separator> </Separator>
        </DataPoint>
        <LabelPosition>Outside</LabelPosition>
        <Stacked>false</Stacked>
        <Triggers>
          <Condition>onmouseover</Condition>
          <Action>
            <Type>Highlight</Type>
            <Value xsi:type="attribute:SeriesValue">
              <Name></Name>
            </Value>
          </Action>
        </Triggers>
        <Cursor>
          <Type>Auto</Type>
        </Cursor>
        <Explosion>0</Explosion>
        <ExplosionExpression></ExplosionExpression>
        <Title>
          <Caption>
            <Value></Value>
            <Font>
              <Size>16.0</Size>
              <Bold>true</Bold>
              <Alignment/>
            </Font>
          </Caption>
          <Background xsi:type="attribute:ColorDefinition">
            <Transparency>0</Transparency>
            <Red>255</Red>
            <Green>255</Green>
            <Blue>255</Blue>
          </Background>
          <Outline>
            <Style>Solid</Style>
            <Thickness>1</Thickness>
            <Color>
              <Transparency>255</Transparency>
              <Red>0</Red>
              <Green>0</Green>
              <Blue>0</Blue>
            </Color>
          </Outline>
          <Insets>
            <Top>0.0</Top>
            <Left>2.0</Left>
            <Bottom>0.0</Bottom>
            <Right>3.0</Right>
          </Insets>
          <Visible>false</Visible>
        </Title>
        <TitlePosition>Below</TitlePosition>
        <LeaderLineAttributes>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>136</Red>
            <Green>136</Green>
            <Blue>136</Blue>
          </Color>
          <Visible>true</Visible>
        </LeaderLineAttributes>
        <LeaderLineStyle>Fixed_Length</LeaderLineStyle>
        <LeaderLineLength>0.0</LeaderLineLength>
        <SliceOutline>
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </SliceOutline>
        <Ratio>1.0</Ratio>
        <Rotation>0.0</Rotation>
        <InnerRadius>60.0</InnerRadius>
      </Series>
    </SeriesDefinitions>
    <Series>
      <Visible>true</Visible>
      <Label>
        <Caption>
          <Value></Value>
          <Font>
            <Alignment/>
          </Font>
        </Caption>
        <Background xsi:type="attribute:ColorDefinition">
          <Transparency>0</Transparency>
          <Red>255</Red>
          <Green>255</Green>
          <Blue>255</Blue>
        </Background>
        <Outline>
          <Style>Solid</Style>
          <Thickness>1</Thickness>
          <Color>
            <Transparency>255</Transparency>
            <Red>0</Red>
            <Green>0</Green>
            <Blue>0</Blue>
          </Color>
          <Visible>false</Visible>
        </Outline>
        <Insets>
          <Top>0.0</Top>
          <Left>2.0</Left>
          <Bottom>0.0</Bottom>
          <Right>3.0</Right>
        </Insets>
        <Visible>false</Visible>
      </Label>
      <DataDefinition>
        <Definition>row[&quot;category_index&quot;]</Definition>
      </DataDefinition>
      <SeriesIdentifier></SeriesIdentifier>
      <DataPoint>
        <Components>
          <Type>Orthogonal_Value</Type>
        </Components>
        <Separator>, </Separator>
      </DataPoint>
      <LabelPosition>Outside</LabelPosition>
      <Stacked>false</Stacked>
    </Series>
    <Grouping>
      <Enabled>false</Enabled>
      <GroupType>Numeric</GroupType>
      <AggregateExpression>Sum</AggregateExpression>
    </Grouping>
    <Sorting>Ascending</Sorting>
    <SortKey>
      <Definition>row[&quot;category_index&quot;]</Definition>
    </SortKey>
  </SeriesDefinitions>
  <MinSlicePercent>false</MinSlicePercent>
  <Coverage>0.65</Coverage>
</model:ChartWithoutAxes>
]]></xml-property>
                                    <property name="outputFormat">SVG</property>
                                    <list-property name="filter">
                                        <structure>
                                            <property name="operator">is-true</property>
                                            <expression name="expr" type="javascript">row["category_index"] == CommonKeys.CLICKER_PC_INDEX || row["category_index"] == CommonKeys.CLICKER_TABLET_INDEX || row["category_index"] == CommonKeys.CLICKER_MOBILE_INDEX || row["category_index"] == CommonKeys.CLICKER_SMARTTV_INDEX || row["category_index"] == CommonKeys.CLICKER_PC_AND_MOBILE_INDEX</expression>
                                        </structure>
                                        <structure>
                                            <property name="operator">eq</property>
                                            <expression name="expr" type="javascript">row["targetgroup_index"]</expression>
                                            <simple-property-list name="value1">
                                                <value>1</value>
                                            </simple-property-list>
                                            <property name="updateAggregation">true</property>
                                        </structure>
                                    </list-property>
                                    <property name="inheritColumns">false</property>
                                    <property name="display">block</property>
                                    <property name="height">320px</property>
                                    <property name="width">668px</property>
                                    <property name="dataSet">MailingSummaryDataSet</property>
                                    <list-property name="boundDataColumns">
                                        <structure>
                                            <property name="name">category</property>
                                            <expression name="expression" type="javascript">dataSetRow["category"]</expression>
                                            <property name="dataType">string</property>
                                        </structure>
                                        <structure>
                                            <property name="name">category_index</property>
                                            <expression name="expression" type="javascript">dataSetRow["category_index"]</expression>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">targetgroup</property>
                                            <expression name="expression" type="javascript">dataSetRow["targetgroup"]</expression>
                                            <property name="dataType">string</property>
                                        </structure>
                                        <structure>
                                            <property name="name">targetgroup_index</property>
                                            <expression name="expression" type="javascript">dataSetRow["targetgroup_index"]</expression>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">value</property>
                                            <expression name="expression" type="javascript">dataSetRow["value"]</expression>
                                            <property name="dataType">integer</property>
                                        </structure>
                                        <structure>
                                            <property name="name">rate</property>
                                            <expression name="expression" type="javascript">dataSetRow["rate"]</expression>
                                            <property name="dataType">float</property>
                                        </structure>
                                    </list-property>
                                </extended-item>
                            </cell>
                        </row>
                    </grid>
                </cell>
            </row>
            <row id="985">
                <cell id="986">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <property name="style">full-width</property>
                    <extended-item extensionName="Crosstab" extensionVersion="3.7.0" name="DeviceTypeTbl"
 id="801">
                        <property name="cube">MailingSummaryDataCube</property>
                        <property name="measures">
                            <extended-item extensionName="MeasureView" id="802">
                                <property name="measure">rate</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="803">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="content">
                                            <text-data id="1142">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">onepixelStatisticExpired != true</expression>
                                                    </structure>
                                                </list-property>
                                                <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                                                <property name="contentType">html</property>
                                            </text-data>
                                            <data id="804">
                                                <property name="marginLeft">0px</property>
                                                <structure name="numberFormat">
                                                    <property name="category">Currency</property>
                                                    <property name="pattern">#,##0</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">onepixelStatisticExpired == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="805">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                            <extended-item extensionName="MeasureView" id="806">
                                <property name="measure">value</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="807">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="borderLeftStyle">solid</property>
                                        <property name="borderLeftWidth">1px</property>
                                        <property name="borderLeftColor">#D3D3D3</property>
                                        <property name="borderBottomStyle">solid</property>
                                        <property name="borderBottomWidth">1px</property>
                                        <property name="borderBottomColor">#D3D3D3</property>
                                        <property name="content">
                                            <data id="965">
                                                <structure name="numberFormat">
                                                    <property name="category">Custom</property>
                                                    <property name="pattern">(0.0%)</property>
                                                </structure>
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">onepixelStatisticExpired == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">rate_CategoryGroup/category_TargetgroupGroup/targetgroup_new</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="809">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="rows">
                            <extended-item extensionName="CrosstabView" id="810">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="811">
                                        <property name="dimension">CategoryGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View21" id="812">
                                                <property name="level">CategoryGroup/category</property>
                                                <property name="filter">
                                                    <filter-condition-element>
                                                        <expression name="expr" type="javascript">data["category_index"]</expression>
                                                        <property name="operator">in</property>
                                                        <simple-property-list name="value1">
                                                            <value type="javascript">CommonKeys.OPENERS_TRACKED_INDEX</value>
                                                            <value type="javascript">CommonKeys.OPENERS_PC_INDEX</value>
                                                            <value type="javascript">CommonKeys.OPENERS_TABLET_INDEX</value>
                                                            <value type="javascript">CommonKeys.OPENERS_MOBILE_INDEX</value>
                                                            <value type="javascript">CommonKeys.OPENERS_SMARTTV_INDEX</value>
                                                            <value type="javascript">CommonKeys.OPENERS_PC_AND_MOBILE_INDEX</value>
                                                            <value type="javascript">CommonKeys.CLICKER_TRACKED_INDEX</value>
                                                            <value type="javascript">CommonKeys.CLICKER_PC_INDEX</value>
                                                            <value type="javascript">CommonKeys.CLICKER_TABLET_INDEX</value>
                                                            <value type="javascript">CommonKeys.CLICKER_MOBILE_INDEX</value>
                                                            <value type="javascript">CommonKeys.CLICKER_SMARTTV_INDEX</value>
                                                            <value type="javascript">CommonKeys.CLICKER_PC_AND_MOBILE_INDEX</value>
                                                        </simple-property-list>
                                                        <property name="updateAggregation">true</property>
                                                    </filter-condition-element>
                                                </property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">dimension["CategoryGroup"]["category"]["category_index"]</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="813">
                                                        <property name="content">
                                                            <data name="category11" id="814">
                                                                <structure name="stringFormat">
                                                                    <property name="category">Unformatted</property>
                                                                </structure>
                                                                <property name="resultSetColumn">category</property>
                                                            </data>
                                                        </property>
                                                        <property name="textAlign">left</property>
                                                    </extended-item>
                                                </property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="columns">
                            <extended-item extensionName="CrosstabView" id="815">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="816">
                                        <property name="dimension">TargetgroupGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View111" id="817">
                                                <property name="level">TargetgroupGroup/targetgroup</property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">dimension["TargetgroupGroup"]["targetgroup"]["targetgroup_index"]</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="pageBreakBefore">auto</property>
                                                <property name="pageBreakAfter">auto</property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="818">
                                                        <property name="content">
                                                            <data name="targetgroup11" id="819">
                                                                <property name="resultSetColumn">targetgroup</property>
                                                            </data>
                                                        </property>
                                                        <property name="style">table-head crosstab-header</property>
                                                    </extended-item>
                                                </property>
                                                <property name="pageBreakInterval">4</property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="header">
                            <extended-item extensionName="CrosstabCell" id="820">
                                <property name="content">
                                    <text-data id="821">
                                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("KeydataPCMobile", reportContext.getLocale())</expression>
                                    </text-data>
                                </property>
                                <property name="style">table-head</property>
                            </extended-item>
                        </property>
                        <property name="pageBreakBefore">always</property>
                        <property name="pageBreakAfter">auto</property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">category</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">targetgroup</property>
                                <expression name="expression">dimension["TargetgroupGroup"]["targetgroup"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["value"]</expression>
                                    </structure>
                                </list-property>
                            </structure>
                            <structure>
                                <property name="name">category_index</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category_index"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">rate_CategoryGroup/category_TargetgroupGroup/targetgroup_new</property>
                                <expression name="expression" type="javascript">if (data["category_index"] == CommonKeys.OPENERS_TRACKED_INDEX || data["category_index"] == CommonKeys.CLICKER_TRACKED_INDEX) {&#13;
  //data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] / data["total_sent"]&#13;
  if (data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] > 0) {1} else {0}&#13;
} else {&#13;
   data["rate_CategoryGroup/category_TargetgroupGroup/targetgroup"]&#13;
}</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">category_1</property>
                                <expression name="expression">dimension["CategoryGroup"]["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">rate_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <expression name="expression">measure["rate"]</expression>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                            </structure>
                            <structure>
                                <property name="name">total_sent</property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["value"]</expression>
                                    </structure>
                                </list-property>
                                <expression name="filterExpr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] == CommonKeys.DELIVERED_EMAILS_INDEX</expression>
                            </structure>
                        </list-property>
                        <property name="style">table table-striped</property>
                    </extended-item>
                </cell>
            </row>
            <row id="748">
                <cell id="749">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <property name="style">full-width</property>
                    <extended-item extensionName="Crosstab" extensionVersion="3.7.0" name="ResponseTbl"
 id="1050">
                        <property name="cube">MailingSummaryDataCube</property>
                        <property name="measures">
                            <extended-item extensionName="MeasureView" id="1043">
                                <property name="measure">value_string</property>
                                <property name="detail">
                                    <extended-item extensionName="AggregationCell" id="1044">
                                        <property name="aggregationOnRow">CategoryGroup/category</property>
                                        <property name="aggregationOnColumn">TargetgroupGroup/targetgroup</property>
                                        <property name="content">
                                            <text-data id="1143">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">onepixelStatisticExpired != true</expression>
                                                    </structure>
                                                </list-property>
                                                <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                                                <property name="contentType">html</property>
                                            </text-data>
                                            <data id="1045">
                                                <list-property name="visibility">
                                                    <structure>
                                                        <property name="format">all</property>
                                                        <expression name="valueExpr" type="javascript">onepixelStatisticExpired == true</expression>
                                                    </structure>
                                                </list-property>
                                                <property name="resultSetColumn">value_string_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                            </data>
                                        </property>
                                        <property name="style">crosstab-value</property>
                                    </extended-item>
                                </property>
                                <property name="header">
                                    <extended-item extensionName="CrosstabCell" id="1046">
                                        <property name="style">to-hide</property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="rows">
                            <extended-item extensionName="CrosstabView" id="1026">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="1027">
                                        <property name="dimension">CategoryGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View211" id="1028">
                                                <property name="level">CategoryGroup/category</property>
                                                <property name="filter">
                                                    <filter-condition-element>
                                                        <expression name="expr" type="javascript">dimension["CategoryGroup"]["category"]["category_index"] >= CommonKeys.OPENINGS_GROSS_MEASURED_INDEX &amp;&amp;
dimension["CategoryGroup"]["category"]["category_index"] &lt;= CommonKeys.ACTIVITY_RATE_INDEX</expression>
                                                        <property name="operator">is-true</property>
                                                        <property name="updateAggregation">true</property>
                                                    </filter-condition-element>
                                                </property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">dimension["CategoryGroup"]["category"]["category_index"]</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="1029">
                                                        <property name="content">
                                                            <data name="category111" id="1030">
                                                                <structure name="stringFormat">
                                                                    <property name="category">Unformatted</property>
                                                                </structure>
                                                                <property name="resultSetColumn">category</property>
                                                            </data>
                                                        </property>
                                                        <property name="textAlign">left</property>
                                                    </extended-item>
                                                </property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="columns">
                            <extended-item extensionName="CrosstabView" id="1031">
                                <property name="views">
                                    <extended-item extensionName="DimensionView" id="1032">
                                        <property name="dimension">TargetgroupGroup</property>
                                        <property name="levels">
                                            <extended-item extensionName="LevelView" name="NewLevel View1111" id="1033">
                                                <property name="level">TargetgroupGroup/targetgroup</property>
                                                <property name="sort">
                                                    <sort-element>
                                                        <expression name="key" type="javascript">dimension["TargetgroupGroup"]["targetgroup"]["targetgroup_index"]</expression>
                                                        <property name="direction">asc</property>
                                                        <property name="strength">-1</property>
                                                    </sort-element>
                                                </property>
                                                <property name="pageBreakBefore">auto</property>
                                                <property name="pageBreakAfter">auto</property>
                                                <property name="member">
                                                    <extended-item extensionName="CrosstabCell" id="1034">
                                                        <property name="content">
                                                            <data name="targetgroup111" id="1035">
                                                                <property name="resultSetColumn">targetgroup</property>
                                                            </data>
                                                        </property>
                                                        <property name="style">table-head crosstab-header</property>
                                                    </extended-item>
                                                </property>
                                                <property name="pageBreakInterval">4</property>
                                            </extended-item>
                                        </property>
                                    </extended-item>
                                </property>
                            </extended-item>
                        </property>
                        <property name="header">
                            <extended-item extensionName="CrosstabCell" id="1048">
                                <property name="content">
                                    <text-data id="1049">
                                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.Response", reportContext.getLocale())</expression>
                                    </text-data>
                                </property>
                                <property name="style">table-head</property>
                            </extended-item>
                        </property>
                        <property name="pageBreakBefore">always</property>
                        <property name="pageBreakAfter">auto</property>
                        <list-property name="boundDataColumns">
                            <structure>
                                <property name="name">category</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">targetgroup</property>
                                <expression name="expression">dimension["TargetgroupGroup"]["targetgroup"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">integer</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["value"]</expression>
                                    </structure>
                                </list-property>
                            </structure>
                            <structure>
                                <property name="name">rate_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <property name="dataType">float</property>
                                <simple-property-list name="aggregateOn">
                                    <value>CategoryGroup/category</value>
                                    <value>TargetgroupGroup/targetgroup</value>
                                </simple-property-list>
                                <property name="aggregateFunction">SUM</property>
                                <list-property name="arguments">
                                    <structure>
                                        <property name="name">Expression</property>
                                        <expression name="value" type="javascript">measure["rate"]</expression>
                                    </structure>
                                </list-property>
                            </structure>
                            <structure>
                                <property name="name">category_index</property>
                                <expression name="expression" type="javascript">dimension["CategoryGroup"]["category"]["category_index"]</expression>
                                <property name="dataType">integer</property>
                            </structure>
                            <structure>
                                <property name="name">Column Binding</property>
                                <expression name="expression" type="javascript">data["rate_CategoryGroup/category_TargetgroupGroup/targetgroup"]</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">rate_CategoryGroup/category_TargetgroupGroup/targetgroup_new</property>
                                <expression name="expression" type="javascript">data["rate_CategoryGroup/category_TargetgroupGroup/targetgroup"]</expression>
                                <property name="dataType">float</property>
                            </structure>
                            <structure>
                                <property name="name">value_string_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
                                <expression name="expression" type="javascript">if(data["category_index"] == CommonKeys.OPENINGS_GROSS_MEASURED_INDEX || data["category_index"] == CommonKeys.CLICKS_GROSS_INDEX) {
	"" + Formatter.format(data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"], "#,##0")
} else if(data["category_index"] == CommonKeys.ACTIVITY_RATE_INDEX) {
	"" + Formatter.format(data["rate_CategoryGroup/category_TargetgroupGroup/targetgroup"], "0.0%")
} else {""}</expression>
                                <property name="dataType">string</property>
                            </structure>
                            <structure>
                                <property name="name">category_1</property>
                                <expression name="expression">dimension["CategoryGroup"]["category"]</expression>
                                <property name="dataType">string</property>
                            </structure>
                        </list-property>
                        <property name="style">table table-striped</property>
                    </extended-item>
                </cell>
            </row>
            <row id="1051">
                <cell id="1052">
                    <property name="colSpan">2</property>
                    <property name="rowSpan">1</property>
                    <text-data id="756">
                        <property name="style">footnote</property>
                        <property name="marginTop">0pt</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.mailsize.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="755">
                        <property name="style">footnote</property>
                        <property name="marginTop">0pt</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.opens.measured.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="757">
                        <property name="style">footnote</property>
                        <property name="marginTop">0pt</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.opens.invisible.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="834">
                        <property name="style">footnote</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("report.opens.pc.and.mobile.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="752">
                        <property name="style">footnote</property>
                        <property name="marginTop">0px</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">params["trackingAllowed"].value == true || params["selectedTargets"] == null || params["selectedTargets"] == ""</expression>
                            </structure>
                        </list-property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("noMailingTracking", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="1038">
                        <property name="style">footnote</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.MeasuredOpeningsGross.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="1039">
                        <property name="style">footnote</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.ActivityRate.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="754">
                        <property name="style">footnote</property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.withoutConfirmation.explanation", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="753">
                        <property name="style">footnote</property>
                        <property name="marginTop">0pt</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">reportContext.getPersistentGlobalVariable("trackingExists") == true</expression>
                            </structure>
                        </list-property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("noTrackingData", reportContext.getLocale())</expression>
                    </text-data>
                    <text-data id="1141">
                        <property name="style">footnote</property>
                        <list-property name="visibility">
                            <structure>
                                <property name="format">all</property>
                                <expression name="valueExpr" type="javascript">successStatisticExpired != true &amp;&amp; onepixelStatisticExpired != true</expression>
                            </structure>
                        </list-property>
                        <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("statistic.nodata.hint", reportContext.getLocale(), getMinimalExpirationPeriod())</expression>
                        <property name="contentType">html</property>
                    </text-data>
                </cell>
            </row>
        </grid>
        <table name="csvData" id="714">
            <property name="dataSet">MailingSummaryDataSet</property>
            <list-property name="boundDataColumns">
                <structure>
                    <property name="name">category</property>
                    <expression name="expression" type="javascript">dataSetRow["category"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">category_index</property>
                    <expression name="expression" type="javascript">dataSetRow["category_index"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">targetgroup</property>
                    <expression name="expression" type="javascript">dataSetRow["targetgroup"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">targetgroup_index</property>
                    <expression name="expression" type="javascript">dataSetRow["targetgroup_index"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">value</property>
                    <expression name="expression" type="javascript">dataSetRow["value"]</expression>
                    <property name="dataType">integer</property>
                </structure>
                <structure>
                    <property name="name">rate</property>
                    <expression name="expression" type="javascript">dataSetRow["rate"]</expression>
                    <property name="dataType">float</property>
                </structure>
                <structure>
                    <property name="name">deliveredRate</property>
                    <text-property name="displayName">deliveredRate</text-property>
                    <expression name="expression" type="javascript">dataSetRow["deliveredRate"]</expression>
                    <property name="dataType">float</property>
                </structure>
                <structure>
                    <property name="name">value_string</property>
                    <text-property name="displayName">value_string</text-property>
                    <expression name="expression" type="javascript">dataSetRow["value_string"]</expression>
                    <property name="dataType">string</property>
                </structure>
                <structure>
                    <property name="name">DeliveredRate</property>
                    <expression name="expression" type="javascript">dataSetRow["deliveredRate"]</expression>
                    <property name="dataType">float</property>
                    <property name="allowExport">true</property>
                </structure>
            </list-property>
            <structure name="toc"/>
            <list-property name="filter">
                <structure>
                    <property name="operator">ne</property>
                    <expression name="expr" type="javascript">row["category_index"]</expression>
                    <simple-property-list name="value1">
                        <value>CommonKeys.OPENERS_TRACKED_INDEX</value>
                    </simple-property-list>
                </structure>
            </list-property>
            <column id="730"/>
            <column id="731"/>
            <column id="732"/>
            <column id="733"/>
            <column id="1122"/>
            <header>
                <row id="715">
                    <cell id="716">
                        <text-data id="734">
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("birt.Target", reportContext.getLocale())</expression>
                        </text-data>
                    </cell>
                    <cell id="717">
                        <text-data id="736">
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("grid.mediapool.category", reportContext.getLocale())</expression>
                        </text-data>
                    </cell>
                    <cell id="718">
                        <text-data id="738">
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("value", reportContext.getLocale())</expression>
                        </text-data>
                    </cell>
                    <cell id="719">
                        <text-data id="740">
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("Brutto", reportContext.getLocale())</expression>
                        </text-data>
                    </cell>
                    <cell id="1119">
                        <text-data id="1123">
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("Netto", reportContext.getLocale())</expression>
                        </text-data>
                    </cell>
                </row>
            </header>
            <detail>
                <row id="720">
                    <cell id="721">
                        <data id="735">
                            <property name="resultSetColumn">targetgroup</property>
                        </data>
                    </cell>
                    <cell id="722">
                        <data id="737">
                            <property name="resultSetColumn">category</property>
                        </data>
                    </cell>
                    <cell id="723">
                        <text-data id="830">
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["value"] >= 0</expression>
                                </structure>
                            </list-property>
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                        </text-data>
                        <data id="739">
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["value"] &lt; 0</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">value</property>
                        </data>
                    </cell>
                    <cell id="724">
                        <text-data id="831">
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["value"] >= 0</expression>
                                </structure>
                            </list-property>
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                        </text-data>
                        <data id="741">
                            <structure name="numberFormat">
                                <property name="category">Percent</property>
                                <property name="pattern">Percent</property>
                            </structure>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["value"] &lt; 0</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">rate</property>
                        </data>
                    </cell>
                    <cell id="1120">
                        <text-data id="1124">
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["value"] >= 0</expression>
                                </structure>
                            </list-property>
                            <expression name="valueExpr">Packages.com.agnitas.messages.I18nString.getLocaleString("NotAvailableShort", reportContext.getLocale())</expression>
                        </text-data>
                        <data id="1125">
                            <structure name="numberFormat">
                                <property name="category">Percent</property>
                                <property name="pattern">Percent</property>
                            </structure>
                            <list-property name="visibility">
                                <structure>
                                    <property name="format">all</property>
                                    <expression name="valueExpr" type="javascript">row["value"] &lt; 0</expression>
                                </structure>
                            </list-property>
                            <property name="resultSetColumn">DeliveredRate</property>
                        </data>
                    </cell>
                </row>
            </detail>
            <footer>
                <row id="725">
                    <cell id="726"/>
                    <cell id="727"/>
                    <cell id="728"/>
                    <cell id="729"/>
                    <cell id="1121"/>
                </row>
            </footer>
        </table>
        <data id="1115">
            <structure name="numberFormat">
                <property name="category">Currency</property>
                <property name="pattern">#,##0</property>
            </structure>
            <list-property name="visibility">
                <structure>
                    <property name="format">all</property>
                    <expression name="valueExpr" type="javascript">data["value_CategoryGroup/category_TargetgroupGroup/targetgroup"] &lt; 0 || data["index"] == CommonKeys.REVENUE_INDEX</expression>
                </structure>
            </list-property>
            <property name="resultSetColumn">value_CategoryGroup/category_TargetgroupGroup/targetgroup</property>
        </data>
    </body>
</report>
