Bar Chart Theme Definition
This is an example of a definition for a bar chart theme:
<ObjectThemeLayer
id="id5"
name="Bar Theme"
alias="Bar Theme id5">
<DataSourceRef ref="id4" />
<FeatureBarTheme id="id7">
<Alignment>
<HorizontalAlignment>center</HorizontalAlignment>
<VerticalAlignment>bottom</VerticalAlignment>
</Alignment>
<BarBaseSize useScale="true">
<MapScale>40653992.6</MapScale>
<DataValueAtSize>6800000</DataValueAtSize>
<Height uom="mapinfo:length in">1</Height>
<Width uom="mapinfo:length in">0.5</Width>
<BarGraduation>const</BarGraduation>
</BarBaseSize>
<BarLayout>
<BarBaselineAngle uom="degrees">0</BarBaselineAngle>
<SideBySideBars independentSize="false" order="leftToRight" />
</BarLayout>
<BarDefinitionList>
<BarDefinition>
<NumericValueExpression>
<AttributeName>Pop_Lt_15</AttributeName>
</NumericValueExpression>
<AreaStyle>
<Interior fill-opacity="1" fill="rgb(255,0,0)" />
</AreaStyle>
</BarDefinition>
<BarDefinition>
<NumericValueExpression>
<AttributeName>Pop_16_64</AttributeName>
</NumericValueExpression>
<AreaStyle>
<Interior fill-opacity="1" fill="rgb(0,255,0)" />
</AreaStyle>
</BarDefinition>
<BarDefinition>
<NumericValueExpression>
<AttributeName>Pop_65Plus</AttributeName>
</NumericValueExpression>
<AreaStyle>
<Interior fill-opacity="1" fill="rgb(0,0,255)" />
</AreaStyle>
</BarDefinition>
</BarDefinitionList>
</FeatureBarTheme>
</ObjectThemeLayer>