Pie Chart Theme Definition
This is an example of a definition for a pie chart theme:
<ObjectThemeLayer
id="id5"
name="Pie Theme"
alias="Pie Theme id5">
<DataSourceRef ref="id4" />
<FeaturePieTheme id="id7">
<Alignment>
<HorizontalAlignment>center</HorizontalAlignment>
<VerticalAlignment>center</VerticalAlignment>
</Alignment>
<PieBaseSize useScale="true">
<MapScale>40653992.6</MapScale>
<DataValueAtSize>11000000</DataValueAtSize>
<Diameter uom="mapinfo:length in">1</Diameter>
<PieGraduation>sqrt</PieGraduation>
</PieBaseSize>
<PieLayout graduatedSize="true">
<PieStartAngle uom="degrees">180</PieStartAngle>
<PieDirection>clockwise</PieDirection>
<PieArea>full</PieArea>
</PieLayout>
<WedgeDefinitionList>
<WedgeDefinition>
<NumericValueExpression>
<AttributeName>Pop_Lt_15</AttributeName>
</NumericValueExpression>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="rgb(255,0,0)" />
</AreaStyle>
</WedgeDefinition>
<WedgeDefinition>
<NumericValueExpression>
<AttributeName>Pop_16_64</AttributeName>
</NumericValueExpression>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="rgb(0,255,0)" />
</AreaStyle>
</WedgeDefinition>
<WedgeDefinition>
<NumericValueExpression>
<AttributeName>Pop_65Plus</AttributeName>
</NumericValueExpression>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="rgb(0,0,255)" />
</AreaStyle>
</WedgeDefinition>
</WedgeDefinitionList>
</FeaturePieTheme>
</ObjectThemeLayer>