Skip to main content



      Home
Home » Archived » BIRT » Fixed Bar Width(How to manually set a bar width?)
Fixed Bar Width [message #493863] Wed, 28 October 2009 06:18 Go to next message
Eclipse UserFriend
Hi.

I am trying to draw a bar chart with "fat" bars (ie: the bars width has to be larger than it is at the moment).

I had a look at the following topic:
http://www.eclipse.org/forums/index.php?S=88ee42b4fd50eb44fd 2eab20de4a0673&t=msg&th=120940

but could not find which parameter I had to change in order to change the width of my bars.
Any help?

By the way, how could I ask for an enhancement to the chart interface, so that it will be possible to use a GUI to change the space/width of bars in a graph?

Thanks.
Michele
Re: Fixed Bar Width [message #493957 is a reply to message #493863] Wed, 28 October 2009 11:29 Go to previous messageGo to next message
Eclipse UserFriend
Michele,

If you just want to make them wider, select the 3rd tab in the chart
wizard, then select chart area. Click on the general properties button
and set the Unit Spacing to a smaller number.

Log enhancement request through bugzilla
http://www.eclipse.org/birt/phoenix/community.php

Jason

Michele wrote:
> Hi.
>
> I am trying to draw a bar chart with "fat" bars (ie: the bars width has
> to be larger than it is at the moment).
>
> I had a look at the following topic:
> http://www.eclipse.org/forums/index.php?S=88ee42b4fd50eb44fd 2eab20de4a0673&t=msg&th=120940
>
>
> but could not find which parameter I had to change in order to change
> the width of my bars.
> Any help?
>
> By the way, how could I ask for an enhancement to the chart interface,
> so that it will be possible to use a GUI to change the space/width of
> bars in a graph?
>
> Thanks.
> Michele
Re: Fixed Bar Width [message #493974 is a reply to message #493957] Wed, 28 October 2009 11:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jason.
I have tried to do as you suggested, but it does not work.

I wonder if I have some other settings that are interfering?

Please see the graph that I have in the preview picture, which is what I am expecting, and the actual result in my html output (but I have tried also pdf and have same results).

http://picasaweb.google.co.uk/michele.mor/BIRT?feat=directli nk

Thanks.

Michele
Re: Fixed Bar Width [message #494030 is a reply to message #493974] Wed, 28 October 2009 16:37 Go to previous messageGo to next message
Eclipse UserFriend
Michele

can you post the report? and what version of BIRT are you using?

Jason

Michele wrote:
> Hi Jason.
> I have tried to do as you suggested, but it does not work.
>
> I wonder if I have some other settings that are interfering?
>
> Please see the graph that I have in the preview picture, which is what I
> am expecting, and the actual result in my html output (but I have tried
> also pdf and have same results).
>
> http://picasaweb.google.co.uk/michele.mor/BIRT?feat=directli nk
>
> Thanks.
>
> Michele
Re: Fixed Bar Width [message #494090 is a reply to message #494030] Thu, 29 October 2009 04:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jason.
I'm using the latest version of BIRT: 2.5.1.v2009070.
Eclipse Version: 3.5.1 Build id: M20090917-0800.

I have attached the report (.rptdesign) file.

Thanks.
Michele

Attachements don't work!!
See below xml source.
-----------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.5.1.v20090903 Build &lt;2.5.1.v20090917-1447></property>
<property name="units">in</property>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="bidiLayoutOrientation">ltr</property>
<data-sources>
<oda-data-source extensionID="org.eclipse.datatools.connectivity.oda.flatfile " name="KeyData" id="19">
<property name="HOME">C:\Work\Report Cabestan</property>
<property name="DELIMTYPE">TAB</property>
<property name="CHARSET">UTF-8</property>
<property name="INCLCOLUMNNAME">YES</property>
<property name="INCLTYPELINE">NO</property>
</oda-data-source>
</data-sources>
<data-sets>
<oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet " name="Keyweek" id="150">
<list-property name="computedColumns">
<structure>
<property name="name">Week</property>
<expression name="expression">BirtDateTime.week(row["Date"])</expression >
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">ContactUnit</property>
<expression name="expression">1</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Day</property>
<expression name="expression">BirtDateTime.day(row["Date"])</expression >
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Hour</property>
<expression name="expression">importPackage(Packages.java.util);
cl = new GregorianCalendar();
cl.setTime(dataSetRow["Date"]);
cl.get(Calendar.HOUR_OF_DAY);</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">DayWeek</property>
<expression name="expression">BirtDateTime.weekDay(row["Date"],4)</expression >
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">DayWeekTest</property>
<expression name="expression">if(row["DayWeek"] == "Monday"){
"1: Monday";
}else if(row["DayWeek"] == "Tuesday"){
"2: Tuesday";
}else if(row["DayWeek"] == "Wednesday"){
"3: Wednesday";
}else if(row["DayWeek"] == "Thursday"){
"4: Thursday";
}else if(row["DayWeek"] == "Friday"){
"5: Friday";
}else if(row["DayWeek"] == "Saturday"){
"6 Sarturday";
}else if(row["DayWeek"] == "Sunday"){
"7 Sunday";
}</expression>
<property name="dataType">string</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">Mobile</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">Date</property>
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">Status</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">Keyword</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">Client</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">Email</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">Comment</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">8</property>
<property name="name">Week</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">9</property>
<property name="name">ContactUnit</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">10</property>
<property name="name">Day</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">11</property>
<property name="name">Hour</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">12</property>
<property name="name">DayWeek</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">13</property>
<property name="name">DayWeekTest</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">KeyData</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">Mobile</property>
<property name="nativeName">Mobile</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">Date</property>
<property name="nativeName">Date</property>
<property name="dataType">date-time</property>
<property name="nativeDataType">93</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">Status</property>
<property name="nativeName">status</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">Keyword</property>
<property name="nativeName">Keyword</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">Client</property>
<property name="nativeName">Client</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">Email</property>
<property name="nativeName">Email</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">Comment</property>
<property name="nativeName">Comment</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<xml-property name="queryText"><![CDATA[select "number", "datetime", "status", "Keyword", "Client", "Email", "Comment" from Birt data.txt : {"Mobile","number",STRING;"Date","datetime",TIMESTAMP; "status","status",STRING;"Keyword","Keyword",STRING;"Client ","Client",STRING;"Email","Email",STRING;"Comment","Comment ",STRING}]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
<design:ResultSets derivedMetaData="true">
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Mobile</design:name>
<design:position>1</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Mobile</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Date</design:name>
<design:position>2</design:position>
<design:nativeDataTypeCode>93</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Date</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Status</design:name>
<design:position>3</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Status</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Keyword</design:name>
<design:position>4</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Keyword</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Email</design:name>
<design:position>5</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Email</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Comment</design:name>
<design:position>6</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Comment</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
</model:DesignValues>]]></xml-property>
</oda-data-set>
</data-sets>
<cubes>
<tabular-cube name="KeywordsbyHour" id="52">
<property name="defaultMeasureGroup">Summary Field</property>
<property name="dimensions">
<tabular-dimension name="Keyword" id="57">
<property name="defaultHierarchy">NewTabularHierarchy1</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy1" id="58">
<property name="levels">
<tabular-level name="Keyword" id="59">
<property name="dataType">string</property>
<property name="columnName">Keyword</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
<tabular-dimension name="Date" id="151">
<property name="isTimeType">false</property>
<property name="defaultHierarchy">NewTabularHierarchy</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy" id="99">
<property name="levels">
<tabular-level name="Hour" id="127">
<property name="dataType">integer</property>
<property name="columnName">Hour</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
</property>
<property name="measureGroups">
<tabular-measure-group name="Summary Field" id="60">
<property name="measures">
<tabular-measure name="ContactUnit" id="61">
<expression name="measureExpression">dataSetRow["ContactUnit"]</expression >
<property name="dataType">integer</property>
</tabular-measure>
</property>
</tabular-measure-group>
</property>
<property name="dataSet">Keyweek</property>
</tabular-cube>
<tabular-cube name="Data Cube - Keyweek" id="225">
<property name="dimensions">
<tabular-dimension name="Group" id="226">
<property name="defaultHierarchy">NewTabularHierarchy2</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy2" id="227">
<property name="levels">
<tabular-level name="Week" id="228">
<property name="dataType">integer</property>
<property name="columnName">Week</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
<tabular-dimension name="Group1" id="234">
<property name="defaultHierarchy">NewTabularHierarchy3</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy3" id="235">
<property name="levels">
<tabular-level name="Keyword" id="236">
<property name="dataType">string</property>
<property name="columnName">Keyword</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
</property>
<property name="measureGroups">
<tabular-measure-group name="Summary Field1" id="229">
<property name="measures">
<tabular-measure name="ContactUnit1" id="230">
<expression name="measureExpression">dataSetRow["ContactUnit"]</expression >
<property name="dataType">integer</property>
</tabular-measure>
</property>
</tabular-measure-group>
</property>
<property name="dataSet">Keyweek</property>
</tabular-cube>
</cubes>
<styles>
<style name="report" id="4">
<property name="fontFamily">"Verdana"</property>
<property name="fontSize">10pt</property>
</style>
<style name="crosstab-cell" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="6">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
<page-setup>
<simple-master-page name="MPLandscape" id="2">
<property name="type">a4</property>
<property name="orientation">landscape</property>
<page-footer>
<text id="3">
<property name="marginTop">5pt</property>
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
<body>
<text name="Title" id="22">
<property name="fontSize">14pt</property>
<property name="fontWeight">bold</property>
<property name="textAlign">center</property>
<property name="contentType">auto</property>
<text-property name="content"><![CDATA[2Enquire
Monthly Report]]></text-property>
</text>
<text-data name="Month" id="23">
<property name="fontSize">12pt</property>
<property name="fontWeight">bold</property>
<property name="fontStyle">italic</property>
<property name="marginTop">5pt</property>
<property name="textAlign">center</property>
<property name="dataSet">Keyweek</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">Mobile</property>
<expression name="expression">dataSetRow["Mobile"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Date</property>
<expression name="expression">dataSetRow["Date"]</expression>
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="name">Status</property>
<expression name="expression">dataSetRow["Status"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Keyword</property>
<expression name="expression">dataSetRow["Keyword"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Client</property>
<expression name="expression">dataSetRow["Client"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Email</property>
<expression name="expression">dataSetRow["Email"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Comment</property>
<expression name="expression">dataSetRow["Comment"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Week</property>
<expression name="expression">dataSetRow["Week"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">ContactUnit</property>
<expression name="expression">dataSetRow["ContactUnit"]</expression >
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Day</property>
<expression name="expression">dataSetRow["Day"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Hour</property>
<expression name="expression">dataSetRow["Hour"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">DayWeek</property>
<expression name="expression">dataSetRow["DayWeek"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">DayWeekTest</property>
<expression name="expression">dataSetRow["DayWeekTest"]</expression >
<property name="dataType">string</property>
</structure>
</list-property>
<expression name="valueExpr">BirtDateTime.month(BirtDateTime.today(),2)+ " "+BirtDateTime.year(BirtDateTime.today())</expression>
<property name="contentType">html</property>
</text-data>
<extended-item extensionName="Chart" name="Total Contacts" id="21">
<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.5.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>
<Anchor>North</Anchor>
<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>true</Visible>
</Outline>
<Visible>true</Visible>
<Label>
<Caption>
<Value>Total Contacts</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>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>true</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>688.8</Width>
<Height>259.2</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>2</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>255</Transparency>
<Red>153</Red>
<Green>204</Green>
<Blue>254</Blue>
</Background>
<Visible>true</Visible>
</Block>
<Dimension>Two_Dimensional</Dimension>
<Script>
/**
* Called before rendering Series.
*
* @param series
* Series
* @param isr
* ISeriesRenderer
* @param icsc
* IChartScriptContext
*/

function beforeDrawSeries( series, seriesRenderer, context )
{
if( seriesRenderer.getClass() == &quot;classorg.eclipse.birt.chart.render.Bar&quot;){
srh = seriesRenderer.getSeriesRenderingHints();
dph1 = srh.getDataPoints();
//size of precalced bar
var sz = dph1[100].getSize();
//number of points
var ln = dph1.length;
var nus = sz/3;
context.getChartInstance().setUnitSpacing(nus);
}
}
</Script>
<Units>Points</Units>
<SeriesThickness>10.0</SeriesThickness>
<ExtendedProperties>
<Name>enable.area.alt</Name>
<Value>false</Value>
</ExtendedProperties>
<SampleData>
<BaseSampleData>
<DataSetRepresentation>A, B, C</DataSetRepresentation>
</BaseSampleData>
<OrthogonalSampleData>
<DataSetRepresentation>5,4,12</DataSetRepresentation>
<SeriesDefinitionIndex>0</SeriesDefinitionIndex>
</OrthogonalSampleData>
<AncillarySampleData>
<DataSetRepresentation>Series 1</DataSetRepresentation>
</AncillarySampleData>
</SampleData>
<Interactivity>
<Enable>false</Enable>
</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>
</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>
</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>row[&quot;Keyword&quot;]</Definition>
</Query>
<SeriesPalette>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>80</Red>
<Green>166</Green>
<Blue>218</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>108</Red>
<Green>222</Green>
<Blue>228</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>242</Red>
<Green>88</Green>
<Blue>106</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>255</Red>
<Green>149</Green>
<Blue>117</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>232</Red>
<Green>172</Green>
<Blue>57</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>250</Red>
<Green>209</Green>
<Blue>63</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>98</Red>
<Green>196</Green>
<Blue>117</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>128</Red>
<Green>255</Green>
<Blue>128</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>64</Red>
<Green>128</Green>
<Blue>128</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>103</Red>
<Green>205</Green>
<Blue>142</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>128</Red>
<Green>128</Green>
<Blue>192</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>159</Red>
<Green>189</Green>
<Blue>203</Blue>
</EndColor>
<Direction>90.0</Direction>
</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

[Updated on: Thu, 29 October 2009 04:11] by Moderator

Re: Fixed Bar Width [message #494182 is a reply to message #494090] Thu, 29 October 2009 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Michele,

I do not see the report attached. Switch to the xml view of the report
and cut and paste to message.

Jason

Michele wrote:
> Hi Jason.
> I'm using the latest version of BIRT: 2.5.1.v2009070.
> Eclipse Version: 3.5.1 Build id: M20090917-0800.
>
> I have attached the report (.rptdesign) file.
>
> Thanks.
> Michele
Re: Fixed Bar Width [message #494188 is a reply to message #494182] Thu, 29 October 2009 10:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jason, here the xml source:

<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.5.1.v20090903 Build &lt;2.5.1.v20090917-1447></property>
<property name="units">in</property>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="bidiLayoutOrientation">ltr</property>
<data-sources>
<oda-data-source extensionID="org.eclipse.datatools.connectivity.oda.flatfile " name="KeyData" id="19">
<property name="HOME">C:\Work\Report Cabestan</property>
<property name="DELIMTYPE">TAB</property>
<property name="CHARSET">UTF-8</property>
<property name="INCLCOLUMNNAME">YES</property>
<property name="INCLTYPELINE">NO</property>
</oda-data-source>
</data-sources>
<data-sets>
<oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet " name="Keyweek" id="150">
<list-property name="computedColumns">
<structure>
<property name="name">Week</property>
<expression name="expression">BirtDateTime.week(row["Date"])</expression >
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">ContactUnit</property>
<expression name="expression">1</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Day</property>
<expression name="expression">BirtDateTime.day(row["Date"])</expression >
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Hour</property>
<expression name="expression">importPackage(Packages.java.util);
cl = new GregorianCalendar();
cl.setTime(dataSetRow["Date"]);
cl.get(Calendar.HOUR_OF_DAY);</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">DayWeek</property>
<expression name="expression">BirtDateTime.weekDay(row["Date"],4)</expression >
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">DayWeekTest</property>
<expression name="expression">if(row["DayWeek"] == "Monday"){
"1: Monday";
}else if(row["DayWeek"] == "Tuesday"){
"2: Tuesday";
}else if(row["DayWeek"] == "Wednesday"){
"3: Wednesday";
}else if(row["DayWeek"] == "Thursday"){
"4: Thursday";
}else if(row["DayWeek"] == "Friday"){
"5: Friday";
}else if(row["DayWeek"] == "Saturday"){
"6 Sarturday";
}else if(row["DayWeek"] == "Sunday"){
"7 Sunday";
}</expression>
<property name="dataType">string</property>
</structure>
</list-property>
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">Mobile</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">Date</property>
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">Status</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">Keyword</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">Client</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">Email</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">Comment</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">8</property>
<property name="name">Week</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">9</property>
<property name="name">ContactUnit</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">10</property>
<property name="name">Day</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">11</property>
<property name="name">Hour</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">12</property>
<property name="name">DayWeek</property>
<property name="dataType">string</property>
</structure>
<structure>
<property name="position">13</property>
<property name="name">DayWeekTest</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">KeyData</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">Mobile</property>
<property name="nativeName">Mobile</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">Date</property>
<property name="nativeName">Date</property>
<property name="dataType">date-time</property>
<property name="nativeDataType">93</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">Status</property>
<property name="nativeName">status</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">4</property>
<property name="name">Keyword</property>
<property name="nativeName">Keyword</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">5</property>
<property name="name">Client</property>
<property name="nativeName">Client</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">6</property>
<property name="name">Email</property>
<property name="nativeName">Email</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
<structure>
<property name="position">7</property>
<property name="name">Comment</property>
<property name="nativeName">Comment</property>
<property name="dataType">string</property>
<property name="nativeDataType">12</property>
</structure>
</list-property>
<xml-property name="queryText"><![CDATA[select "number", "datetime", "status", "Keyword", "Client", "Email", "Comment" from Birt data.txt : {"Mobile","number",STRING;"Date","datetime",TIMESTAMP; "status","status",STRING;"Keyword","Keyword",STRING;"Client ","Client",STRING;"Email","Email",STRING;"Comment","Comment ",STRING}]]></xml-property>
<xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
<Version>1.0</Version>
<design:ResultSets derivedMetaData="true">
<design:resultSetDefinitions>
<design:resultSetColumns>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Mobile</design:name>
<design:position>1</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Mobile</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Date</design:name>
<design:position>2</design:position>
<design:nativeDataTypeCode>93</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Date</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Status</design:name>
<design:position>3</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Status</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Keyword</design:name>
<design:position>4</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Keyword</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Email</design:name>
<design:position>5</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Email</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
<design:resultColumnDefinitions>
<design:attributes>
<design:name>Comment</design:name>
<design:position>6</design:position>
<design:nativeDataTypeCode>12</design:nativeDataTypeCode>
<design:precision>-1</design:precision>
<design:scale>-1</design:scale>
<design:nullability>Unknown</design:nullability>
</design:attributes>
<design:usageHints>
<design:label>Comment</design:label>
<design:formattingHints/>
</design:usageHints>
</design:resultColumnDefinitions>
</design:resultSetColumns>
</design:resultSetDefinitions>
</design:ResultSets>
</model:DesignValues>]]></xml-property>
</oda-data-set>
</data-sets>
<cubes>
<tabular-cube name="KeywordsbyHour" id="52">
<property name="defaultMeasureGroup">Summary Field</property>
<property name="dimensions">
<tabular-dimension name="Keyword" id="57">
<property name="defaultHierarchy">NewTabularHierarchy1</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy1" id="58">
<property name="levels">
<tabular-level name="Keyword" id="59">
<property name="dataType">string</property>
<property name="columnName">Keyword</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
<tabular-dimension name="Date" id="151">
<property name="isTimeType">false</property>
<property name="defaultHierarchy">NewTabularHierarchy</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy" id="99">
<property name="levels">
<tabular-level name="Hour" id="127">
<property name="dataType">integer</property>
<property name="columnName">Hour</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
</property>
<property name="measureGroups">
<tabular-measure-group name="Summary Field" id="60">
<property name="measures">
<tabular-measure name="ContactUnit" id="61">
<expression name="measureExpression">dataSetRow["ContactUnit"]</expression >
<property name="dataType">integer</property>
</tabular-measure>
</property>
</tabular-measure-group>
</property>
<property name="dataSet">Keyweek</property>
</tabular-cube>
<tabular-cube name="Data Cube - Keyweek" id="225">
<property name="dimensions">
<tabular-dimension name="Group" id="226">
<property name="defaultHierarchy">NewTabularHierarchy2</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy2" id="227">
<property name="levels">
<tabular-level name="Week" id="228">
<property name="dataType">integer</property>
<property name="columnName">Week</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
<tabular-dimension name="Group1" id="234">
<property name="defaultHierarchy">NewTabularHierarchy3</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy3" id="235">
<property name="levels">
<tabular-level name="Keyword" id="236">
<property name="dataType">string</property>
<property name="columnName">Keyword</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
</property>
<property name="measureGroups">
<tabular-measure-group name="Summary Field1" id="229">
<property name="measures">
<tabular-measure name="ContactUnit1" id="230">
<expression name="measureExpression">dataSetRow["ContactUnit"]</expression >
<property name="dataType">integer</property>
</tabular-measure>
</property>
</tabular-measure-group>
</property>
<property name="dataSet">Keyweek</property>
</tabular-cube>
</cubes>
<styles>
<style name="report" id="4">
<property name="fontFamily">"Verdana"</property>
<property name="fontSize">10pt</property>
</style>
<style name="crosstab-cell" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="6">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
<page-setup>
<simple-master-page name="MPLandscape" id="2">
<property name="type">a4</property>
<property name="orientation">landscape</property>
<page-footer>
<text id="3">
<property name="marginTop">5pt</property>
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
<body>
<text name="Title" id="22">
<property name="fontSize">14pt</property>
<property name="fontWeight">bold</property>
<property name="textAlign">center</property>
<property name="contentType">auto</property>
<text-property name="content"><![CDATA[2Enquire
Monthly Report]]></text-property>
</text>
<text-data name="Month" id="23">
<property name="fontSize">12pt</property>
<property name="fontWeight">bold</property>
<property name="fontStyle">italic</property>
<property name="marginTop">5pt</property>
<property name="textAlign">center</property>
<property name="dataSet">Keyweek</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">Mobile</property>
<expression name="expression">dataSetRow["Mobile"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Date</property>
<expression name="expression">dataSetRow["Date"]</expression>
<property name="dataType">date-time</property>
</structure>
<structure>
<property name="name">Status</property>
<expression name="expression">dataSetRow["Status"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Keyword</property>
<expression name="expression">dataSetRow["Keyword"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Client</property>
<expression name="expression">dataSetRow["Client"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Email</property>
<expression name="expression">dataSetRow["Email"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Comment</property>
<expression name="expression">dataSetRow["Comment"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">Week</property>
<expression name="expression">dataSetRow["Week"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">ContactUnit</property>
<expression name="expression">dataSetRow["ContactUnit"]</expression >
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Day</property>
<expression name="expression">dataSetRow["Day"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">Hour</property>
<expression name="expression">dataSetRow["Hour"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">DayWeek</property>
<expression name="expression">dataSetRow["DayWeek"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">DayWeekTest</property>
<expression name="expression">dataSetRow["DayWeekTest"]</expression >
<property name="dataType">string</property>
</structure>
</list-property>
<expression name="valueExpr">BirtDateTime.month(BirtDateTime.today(),2)+ " "+BirtDateTime.year(BirtDateTime.today())</expression>
<property name="contentType">html</property>
</text-data>
<extended-item extensionName="Chart" name="Total Contacts" id="21">
<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.5.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>
<Anchor>North</Anchor>
<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>true</Visible>
</Outline>
<Visible>true</Visible>
<Label>
<Caption>
<Value>Total Contacts</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>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>true</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>688.8</Width>
<Height>259.2</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>2</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>255</Transparency>
<Red>153</Red>
<Green>204</Green>
<Blue>254</Blue>
</Background>
<Visible>true</Visible>
</Block>
<Dimension>Two_Dimensional</Dimension>
<Script>
/**
* Called before rendering Series.
*
* @param series
* Series
* @param isr
* ISeriesRenderer
* @param icsc
* IChartScriptContext
*/

function beforeDrawSeries( series, seriesRenderer, context )
{
if( seriesRenderer.getClass() == &quot;classorg.eclipse.birt.chart.render.Bar&quot;){
srh = seriesRenderer.getSeriesRenderingHints();
dph1 = srh.getDataPoints();
//size of precalced bar
var sz = dph1[100].getSize();
//number of points
var ln = dph1.length;
var nus = sz/3;
context.getChartInstance().setUnitSpacing(nus);
}
}
</Script>
<Units>Points</Units>
<SeriesThickness>10.0</SeriesThickness>
<ExtendedProperties>
<Name>enable.area.alt</Name>
<Value>false</Value>
</ExtendedProperties>
<SampleData>
<BaseSampleData>
<DataSetRepresentation>A, B, C</DataSetRepresentation>
</BaseSampleData>
<OrthogonalSampleData>
<DataSetRepresentation>5,4,12</DataSetRepresentation>
<SeriesDefinitionIndex>0</SeriesDefinitionIndex>
</OrthogonalSampleData>
<AncillarySampleData>
<DataSetRepresentation>Series 1</DataSetRepresentation>
</AncillarySampleData>
</SampleData>
<Interactivity>
<Enable>false</Enable>
</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>
</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>
</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>row[&quot;Keyword&quot;]</Definition>
</Query>
<SeriesPalette>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>80</Red>
<Green>166</Green>
<Blue>218</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>108</Red>
<Green>222</Green>
<Blue>228</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>242</Red>
<Green>88</Green>
<Blue>106</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>255</Red>
<Green>149</Green>
<Blue>117</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>232</Red>
<Green>172</Green>
<Blue>57</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>250</Red>
<Green>209</Green>
<Blue>63</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>98</Red>
<Green>196</Green>
<Blue>117</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>128</Red>
<Green>255</Green>
<Blue>128</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>64</Red>
<Green>128</Green>
<Blue>128</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>103</Red>
<Green>205</Green>
<Blue>142</Blue>
</EndColor>
<Direction>90.0</Direction>
</Entries>
<Entries xsi:type="attribute:Gradient">
<StartColor>
<Transparency>255</Transparency>
<Red>128</Red>
<Green>128</Green>
<Blue>192</Blue>
</StartColor>
<EndColor>
<Transparency>255</Transparency>
<Red>159</Red>
<Green>189</Green>
<Blue>203</Blue>
</EndColor>
<Direction>90.0</Direction>
</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">
<Tra
Re: Fixed Bar Width [message #494211 is a reply to message #494188] Thu, 29 October 2009 11:13 Go to previous message
Eclipse UserFriend
Seems to not have come through all the way can you zip the report with
some sample data file and email to me at jasonweathersby at windsteam.net

Jason

Michele wrote:
> Hi Jason, here the xml source:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.20"
> id="1">
> <property name="createdBy">Eclipse BIRT Designer Version
> 2.5.1.v20090903 Build <2.5.1.v20090917-1447></property>
> <property name="units">in</property>
> <property name="iconFile">/templates/blank_report.gif</property>
> <property name="bidiLayoutOrientation">ltr</property>
> <data-sources>
> <oda-data-source
> extensionID="org.eclipse.datatools.connectivity.oda.flatfile "
> name="KeyData" id="19">
> <property name="HOME">C:\Work\Report Cabestan</property>
> <property name="DELIMTYPE">TAB</property>
> <property name="CHARSET">UTF-8</property>
> <property name="INCLCOLUMNNAME">YES</property>
> <property name="INCLTYPELINE">NO</property>
> </oda-data-source>
> </data-sources>
> <data-sets>
> <oda-data-set
> extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet "
> name="Keyweek" id="150">
> <list-property name="computedColumns">
> <structure>
> <property name="name">Week</property>
> <expression
> name="expression">BirtDateTime.week(row["Date"])</expression >
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">ContactUnit</property>
> <expression name="expression">1</expression>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">Day</property>
> <expression
> name="expression">BirtDateTime.day(row["Date"])</expression >
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">Hour</property>
> <expression
> name="expression">importPackage(Packages.java.util);
>
> cl = new GregorianCalendar();
>
> cl.setTime(dataSetRow["Date"]);
>
> cl.get(Calendar.HOUR_OF_DAY);</expression>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">DayWeek</property>
> <expression
> name="expression">BirtDateTime.weekDay(row["Date"],4)</expression >
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">DayWeekTest</property>
> <expression name="expression">if(row["DayWeek"] ==
> "Monday"){
>
> "1: Monday";
>
> }else if(row["DayWeek"] == "Tuesday"){
>
> "2: Tuesday";
>
> }else if(row["DayWeek"] == "Wednesday"){
>
> "3: Wednesday";
>
> }else if(row["DayWeek"] == "Thursday"){
>
> "4: Thursday";
>
> }else if(row["DayWeek"] == "Friday"){
>
> "5: Friday";
>
> }else if(row["DayWeek"] == "Saturday"){
>
> "6 Sarturday";
>
> }else if(row["DayWeek"] == "Sunday"){
>
> "7 Sunday";
>
> }</expression>
> <property name="dataType">string</property>
> </structure>
> </list-property>
> <structure name="cachedMetaData">
> <list-property name="resultSet">
> <structure>
> <property name="position">1</property>
> <property name="name">Mobile</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">2</property>
> <property name="name">Date</property>
> <property name="dataType">date-time</property>
> </structure>
> <structure>
> <property name="position">3</property>
> <property name="name">Status</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">4</property>
> <property name="name">Keyword</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">5</property>
> <property name="name">Client</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">6</property>
> <property name="name">Email</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">7</property>
> <property name="name">Comment</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">8</property>
> <property name="name">Week</property>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="position">9</property>
> <property name="name">ContactUnit</property>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="position">10</property>
> <property name="name">Day</property>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="position">11</property>
> <property name="name">Hour</property>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="position">12</property>
> <property name="name">DayWeek</property>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="position">13</property>
> <property name="name">DayWeekTest</property>
> <property name="dataType">string</property>
> </structure>
> </list-property>
> </structure>
> <property name="dataSource">KeyData</property>
> <list-property name="resultSet">
> <structure>
> <property name="position">1</property>
> <property name="name">Mobile</property>
> <property name="nativeName">Mobile</property>
> <property name="dataType">string</property>
> <property name="nativeDataType">12</property>
> </structure>
> <structure>
> <property name="position">2</property>
> <property name="name">Date</property>
> <property name="nativeName">Date</property>
> <property name="dataType">date-time</property>
> <property name="nativeDataType">93</property>
> </structure>
> <structure>
> <property name="position">3</property>
> <property name="name">Status</property>
> <property name="nativeName">status</property>
> <property name="dataType">string</property>
> <property name="nativeDataType">12</property>
> </structure>
> <structure>
> <property name="position">4</property>
> <property name="name">Keyword</property>
> <property name="nativeName">Keyword</property>
> <property name="dataType">string</property>
> <property name="nativeDataType">12</property>
> </structure>
> <structure>
> <property name="position">5</property>
> <property name="name">Client</property>
> <property name="nativeName">Client</property>
> <property name="dataType">string</property>
> <property name="nativeDataType">12</property>
> </structure>
> <structure>
> <property name="position">6</property>
> <property name="name">Email</property>
> <property name="nativeName">Email</property>
> <property name="dataType">string</property>
> <property name="nativeDataType">12</property>
> </structure>
> <structure>
> <property name="position">7</property>
> <property name="name">Comment</property>
> <property name="nativeName">Comment</property>
> <property name="dataType">string</property>
> <property name="nativeDataType">12</property>
> </structure>
> </list-property>
> <xml-property name="queryText"><![CDATA[select "number",
> "datetime", "status", "Keyword", "Client", "Email", "Comment" from Birt
> data.txt : {"Mobile","number",STRING;"Date","datetime",TIMESTAMP;
> "status","status",STRING;"Keyword","Keyword",STRING;"Client
> ","Client",STRING;"Email","Email",STRING;"Comment","Comment
> ",STRING}]]></xml-property>
> <xml-property name="designerValues"><![CDATA[<?xml
> version="1.0" encoding="UTF-8"?>
> <model:DesignValues
> xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design"
> xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
> <Version>1.0</Version>
> <design:ResultSets derivedMetaData="true">
> <design:resultSetDefinitions>
> <design:resultSetColumns>
> <design:resultColumnDefinitions>
> <design:attributes>
> <design:name>Mobile</design:name>
> <design:position>1</design:position>
> <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
> <design:precision>-1</design:precision>
> <design:scale>-1</design:scale>
> <design:nullability>Unknown</design:nullability>
> </design:attributes>
> <design:usageHints>
> <design:label>Mobile</design:label>
> <design:formattingHints/>
> </design:usageHints>
> </design:resultColumnDefinitions>
> <design:resultColumnDefinitions>
> <design:attributes>
> <design:name>Date</design:name>
> <design:position>2</design:position>
> <design:nativeDataTypeCode>93</design:nativeDataTypeCode>
> <design:precision>-1</design:precision>
> <design:scale>-1</design:scale>
> <design:nullability>Unknown</design:nullability>
> </design:attributes>
> <design:usageHints>
> <design:label>Date</design:label>
> <design:formattingHints/>
> </design:usageHints>
> </design:resultColumnDefinitions>
> <design:resultColumnDefinitions>
> <design:attributes>
> <design:name>Status</design:name>
> <design:position>3</design:position>
> <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
> <design:precision>-1</design:precision>
> <design:scale>-1</design:scale>
> <design:nullability>Unknown</design:nullability>
> </design:attributes>
> <design:usageHints>
> <design:label>Status</design:label>
> <design:formattingHints/>
> </design:usageHints>
> </design:resultColumnDefinitions>
> <design:resultColumnDefinitions>
> <design:attributes>
> <design:name>Keyword</design:name>
> <design:position>4</design:position>
> <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
> <design:precision>-1</design:precision>
> <design:scale>-1</design:scale>
> <design:nullability>Unknown</design:nullability>
> </design:attributes>
> <design:usageHints>
> <design:label>Keyword</design:label>
> <design:formattingHints/>
> </design:usageHints>
> </design:resultColumnDefinitions>
> <design:resultColumnDefinitions>
> <design:attributes>
> <design:name>Email</design:name>
> <design:position>5</design:position>
> <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
> <design:precision>-1</design:precision>
> <design:scale>-1</design:scale>
> <design:nullability>Unknown</design:nullability>
> </design:attributes>
> <design:usageHints>
> <design:label>Email</design:label>
> <design:formattingHints/>
> </design:usageHints>
> </design:resultColumnDefinitions>
> <design:resultColumnDefinitions>
> <design:attributes>
> <design:name>Comment</design:name>
> <design:position>6</design:position>
> <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
> <design:precision>-1</design:precision>
> <design:scale>-1</design:scale>
> <design:nullability>Unknown</design:nullability>
> </design:attributes>
> <design:usageHints>
> <design:label>Comment</design:label>
> <design:formattingHints/>
> </design:usageHints>
> </design:resultColumnDefinitions>
> </design:resultSetColumns>
> </design:resultSetDefinitions>
> </design:ResultSets>
> </model:DesignValues>]]></xml-property>
> </oda-data-set>
> </data-sets>
> <cubes>
> <tabular-cube name="KeywordsbyHour" id="52">
> <property name="defaultMeasureGroup">Summary Field</property>
> <property name="dimensions">
> <tabular-dimension name="Keyword" id="57">
> <property
> name="defaultHierarchy">NewTabularHierarchy1</property>
> <property name="hierarchies">
> <tabular-hierarchy name="NewTabularHierarchy1"
> id="58">
> <property name="levels">
> <tabular-level name="Keyword" id="59">
> <property
> name="dataType">string</property>
> <property
> name="columnName">Keyword</property>
> </tabular-level>
> </property>
> </tabular-hierarchy>
> </property>
> </tabular-dimension>
> <tabular-dimension name="Date" id="151">
> <property name="isTimeType">false</property>
> <property
> name="defaultHierarchy">NewTabularHierarchy</property>
> <property name="hierarchies">
> <tabular-hierarchy name="NewTabularHierarchy"
> id="99">
> <property name="levels">
> <tabular-level name="Hour" id="127">
> <property
> name="dataType">integer</property>
> <property
> name="columnName">Hour</property>
> </tabular-level>
> </property>
> </tabular-hierarchy>
> </property>
> </tabular-dimension>
> </property>
> <property name="measureGroups">
> <tabular-measure-group name="Summary Field" id="60">
> <property name="measures">
> <tabular-measure name="ContactUnit" id="61">
> <expression
> name="measureExpression">dataSetRow["ContactUnit"]</expression >
> <property name="dataType">integer</property>
> </tabular-measure>
> </property>
> </tabular-measure-group>
> </property>
> <property name="dataSet">Keyweek</property>
> </tabular-cube>
> <tabular-cube name="Data Cube - Keyweek" id="225">
> <property name="dimensions">
> <tabular-dimension name="Group" id="226">
> <property
> name="defaultHierarchy">NewTabularHierarchy2</property>
> <property name="hierarchies">
> <tabular-hierarchy name="NewTabularHierarchy2"
> id="227">
> <property name="levels">
> <tabular-level name="Week" id="228">
> <property
> name="dataType">integer</property>
> <property
> name="columnName">Week</property>
> </tabular-level>
> </property>
> </tabular-hierarchy>
> </property>
> </tabular-dimension>
> <tabular-dimension name="Group1" id="234">
> <property
> name="defaultHierarchy">NewTabularHierarchy3</property>
> <property name="hierarchies">
> <tabular-hierarchy name="NewTabularHierarchy3"
> id="235">
> <property name="levels">
> <tabular-level name="Keyword" id="236">
> <property
> name="dataType">string</property>
> <property
> name="columnName">Keyword</property>
> </tabular-level>
> </property>
> </tabular-hierarchy>
> </property>
> </tabular-dimension>
> </property>
> <property name="measureGroups">
> <tabular-measure-group name="Summary Field1" id="229">
> <property name="measures">
> <tabular-measure name="ContactUnit1" id="230">
> <expression
> name="measureExpression">dataSetRow["ContactUnit"]</expression >
> <property name="dataType">integer</property>
> </tabular-measure>
> </property>
> </tabular-measure-group>
> </property>
> <property name="dataSet">Keyweek</property>
> </tabular-cube>
> </cubes>
> <styles>
> <style name="report" id="4">
> <property name="fontFamily">"Verdana"</property>
> <property name="fontSize">10pt</property>
> </style>
> <style name="crosstab-cell" id="5">
> <property name="borderBottomColor">#CCCCCC</property>
> <property name="borderBottomStyle">solid</property>
> <property name="borderBottomWidth">1pt</property>
> <property name="borderLeftColor">#CCCCCC</property>
> <property name="borderLeftStyle">solid</property>
> <property name="borderLeftWidth">1pt</property>
> <property name="borderRightColor">#CCCCCC</property>
> <property name="borderRightStyle">solid</property>
> <property name="borderRightWidth">1pt</property>
> <property name="borderTopColor">#CCCCCC</property>
> <property name="borderTopStyle">solid</property>
> <property name="borderTopWidth">1pt</property>
> </style>
> <style name="crosstab" id="6">
> <property name="borderBottomColor">#CCCCCC</property>
> <property name="borderBottomStyle">solid</property>
> <property name="borderBottomWidth">1pt</property>
> <property name="borderLeftColor">#CCCCCC</property>
> <property name="borderLeftStyle">solid</property>
> <property name="borderLeftWidth">1pt</property>
> <property name="borderRightColor">#CCCCCC</property>
> <property name="borderRightStyle">solid</property>
> <property name="borderRightWidth">1pt</property>
> <property name="borderTopColor">#CCCCCC</property>
> <property name="borderTopStyle">solid</property>
> <property name="borderTopWidth">1pt</property>
> </style>
> </styles>
> <page-setup>
> <simple-master-page name="MPLandscape" id="2">
> <property name="type">a4</property>
> <property name="orientation">landscape</property>
> <page-footer>
> <text id="3">
> <property name="marginTop">5pt</property>
> <property name="contentType">html</property>
> <text-property name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> <body>
> <text name="Title" id="22">
> <property name="fontSize">14pt</property>
> <property name="fontWeight">bold</property>
> <property name="textAlign">center</property>
> <property name="contentType">auto</property>
> <text-property name="content"><![CDATA[2Enquire
> Monthly Report]]></text-property>
> </text>
> <text-data name="Month" id="23">
> <property name="fontSize">12pt</property>
> <property name="fontWeight">bold</property>
> <property name="fontStyle">italic</property>
> <property name="marginTop">5pt</property>
> <property name="textAlign">center</property>
> <property name="dataSet">Keyweek</property>
> <list-property name="boundDataColumns">
> <structure>
> <property name="name">Mobile</property>
> <expression
> name="expression">dataSetRow["Mobile"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">Date</property>
> <expression
> name="expression">dataSetRow["Date"]</expression>
> <property name="dataType">date-time</property>
> </structure>
> <structure>
> <property name="name">Status</property>
> <expression
> name="expression">dataSetRow["Status"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">Keyword</property>
> <expression
> name="expression">dataSetRow["Keyword"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">Client</property>
> <expression
> name="expression">dataSetRow["Client"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">Email</property>
> <expression
> name="expression">dataSetRow["Email"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">Comment</property>
> <expression
> name="expression">dataSetRow["Comment"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">Week</property>
> <expression
> name="expression">dataSetRow["Week"]</expression>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">ContactUnit</property>
> <expression
> name="expression">dataSetRow["ContactUnit"]</expression >
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">Day</property>
> <expression
> name="expression">dataSetRow["Day"]</expression>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">Hour</property>
> <expression
> name="expression">dataSetRow["Hour"]</expression>
> <property name="dataType">integer</property>
> </structure>
> <structure>
> <property name="name">DayWeek</property>
> <expression
> name="expression">dataSetRow["DayWeek"]</expression>
> <property name="dataType">string</property>
> </structure>
> <structure>
> <property name="name">DayWeekTest</property>
> <expression
> name="expression">dataSetRow["DayWeekTest"]</expression >
> <property name="dataType">string</property>
> </structure>
> </list-property>
> <expression
> name="valueExpr">BirtDateTime.month(BirtDateTime.today(),2)+ "
> "+BirtDateTime.year(BirtDateTime.today())</expression>
> <property name="contentType">html</property>
> </text-data>
> <extended-item extensionName="Chart" name="Total Contacts" id="21">
> <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.5.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>
> <Anchor>North</Anchor>
> <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>true</Visible>
> </Outline>
> <Visible>true</Visible>
> <Label>
> <Caption>
> <Value>Total Contacts</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>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>true</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>688.8</Width>
> <Height>259.2</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>2</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>255</Transparency>
> <Red>153</Red>
> <Green>204</Green>
> <Blue>254</Blue>
> </Background>
> <Visible>true</Visible>
> </Block>
> <Dimension>Two_Dimensional</Dimension>
> <Script>
> /**
> * Called before rendering Series.
> * * @param series
> * Series
> * @param isr
> * ISeriesRenderer
> * @param icsc
> * IChartScriptContext
> */
>
> function beforeDrawSeries( series, seriesRenderer, context )
> {
> if( seriesRenderer.getClass() ==
> "classorg.eclipse.birt.chart.render.Bar"){
> srh = seriesRenderer.getSeriesRenderingHints();
> dph1 = srh.getDataPoints();
> //size of precalced bar
> var sz = dph1[100].getSize();
> //number of points
> var ln = dph1.length;
> var nus = sz/3;
> context.getChartInstance().setUnitSpacing(nus);
> }
> }
> </Script>
> <Units>Points</Units>
> <SeriesThickness>10.0</SeriesThickness>
> <ExtendedProperties>
> <Name>enable.area.alt</Name>
> <Value>false</Value>
> </ExtendedProperties>
> <SampleData>
> <BaseSampleData>
> <DataSetRepresentation>A, B, C</DataSetRepresentation>
> </BaseSampleData>
> <OrthogonalSampleData>
> <DataSetRepresentation>5,4,12</DataSetRepresentation>
> <SeriesDefinitionIndex>0</SeriesDefinitionIndex>
> </OrthogonalSampleData>
> <AncillarySampleData>
> <DataSetRepresentation>Series 1</DataSetRepresentation>
> </AncillarySampleData>
> </SampleData>
> <Interactivity>
> <Enable>false</Enable>
> </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>
> </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>
> </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>row["Keyword"]</Definition>
> </Query>
> <SeriesPalette>
> <Entries xsi:type="attribute:Gradient">
> <StartColor>
> <Transparency>255</Transparency>
> <Red>80</Red>
> <Green>166</Green>
> <Blue>218</Blue>
> </StartColor>
> <EndColor>
> <Transparency>255</Transparency>
> <Red>108</Red>
> <Green>222</Green>
> <Blue>228</Blue>
> </EndColor>
> <Direction>90.0</Direction>
> </Entries>
> <Entries xsi:type="attribute:Gradient">
> <StartColor>
> <Transparency>255</Transparency>
> <Red>242</Red>
> <Green>88</Green>
> <Blue>106</Blue>
> </StartColor>
> <EndColor>
> <Transparency>255</Transparency>
> <Red>255</Red>
> <Green>149</Green>
> <Blue>117</Blue>
> </EndColor>
> <Direction>90.0</Direction>
> </Entries>
> <Entries xsi:type="attribute:Gradient">
> <StartColor>
> <Transparency>255</Transparency>
> <Red>232</Red>
> <Green>172</Green>
> <Blue>57</Blue>
> </StartColor>
> <EndColor>
> <Transparency>255</Transparency>
> <Red>250</Red>
> <Green>209</Green>
> <Blue>63</Blue>
> </EndColor>
> <Direction>90.0</Direction>
> </Entries>
> <Entries xsi:type="attribute:Gradient">
> <StartColor>
> <Transparency>255</Transparency>
> <Red>98</Red>
> <Green>196</Green>
> <Blue>117</Blue>
> </StartColor>
> <EndColor>
> <Transparency>255</Transparency>
> <Red>128</Red>
> <Green>255</Green>
> <Blue>128</Blue>
> </EndColor>
> <Direction>90.0</Direction>
> </Entries>
> <Entries xsi:type="attribute:Gradient">
> <StartColor>
> <Transparency>255</Transparency>
> <Red>64</Red>
> <Green>128</Green>
> <Blue>128</Blue>
> </StartColor>
> <EndColor>
> <Transparency>255</Transparency>
> <Red>103</Red>
> <Green>205</Green>
> &
Previous Topic:Birt exports and OpenOffice
Next Topic:New report element DerivedDataSet in BIRT 2.5.1
Goto Forum:
  


Current Time: Wed Nov 05 14:37:56 EST 2025

Powered by FUDForum. Page generated in 0.09994 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top