Layer With Graduated Symbol Theme

Example

This is an example of a named layer definition that contains a graduated symbol theme.



<?xml version="1.0" encoding="UTF-8"?>
<NamedLayer version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp">
	<ConnectionSet/>
	<DataSourceDefinitionSet>
		<NamedDataSourceDefinitionRef id="id1" resourceID="/NamedTables/WorldTable"/>
	</DataSourceDefinitionSet>
	<ObjectThemeLayer id="id5" name="Graduated Symbol Theme" alias="Graduated Symbol Theme id5">
		<DataSourceRef ref="id1"/>
		<FeatureGraduatedSymbolTheme id="id7">
			<Alignment>
				<HorizontalAlignment>center</HorizontalAlignment>
				<VerticalAlignment>center</VerticalAlignment>
			</Alignment>
			<SymbolBaseSize useScale="false">
				<MapScale>1</MapScale>
				<DataValueAtSize>23</DataValueAtSize>
				<PositiveSymbol>
					<PointStyle>
						<FontSymbol text="&quot;" size="36" size-unit="mapinfo:length pt" stroke="rgb(255,0,0)" stroke-opacity="1" family="MapInfo 3.0 Compatible"/>
					</PointStyle>
				</PositiveSymbol>
				<NegativeSymbol visible="true">
					<PointStyle>
						<FontSymbol text="&quot;" size="36" size-unit="mapinfo:length pt" stroke="rgb(0,0,255)" stroke-opacity="1" family="MapInfo 3.0 Compatible"/>
					</PointStyle>
				</NegativeSymbol>
				<SymbolGraduation>sqrt</SymbolGraduation>
			</SymbolBaseSize>
			<SymbolLayout/>
			<NumericValueExpression>
				<AttributeName>Indust_Growth</AttributeName>
			</NumericValueExpression>
		</FeatureGraduatedSymbolTheme>
	</ObjectThemeLayer> 
</NamedLayer>