Can someone help me find the problem with this custom renderer? <esri2:SimpleLineSymbol x:Key="x0-5000LineSymbol" Color="Green" Width="1" Style="Solid" />
<esri2:SimpleLineSymbol x:Key="x5001-10000LineSymbol" Color="Blue" Width="1" Style="Solid" />
<esri2:SimpleLineSymbol x:Key="x10001-15000LineSymbol" Color="Yellow" Width="1" Style="Solid" />
<esri2:SimpleLineSymbol x:Key="x15001-20000LineSymbol" Color="Orange" Width="1" Style="Solid" />
<esri2:SimpleLineSymbol x:Key="x20001-25000LineSymbol" Color="Red" Width="1" Style="Solid" />
<esri:ClassBreaksRenderer x:Key="MyClassBreaksRenderer" Attribute="tcmlatestcounts.adtnew" >
<esri:ClassBreaksRenderer.Classes>
<esri:ClassBreakInfo MinimumValue="0" MaximumValue="5000" Symbol="{StaticResource x0-5000LineSymbol}" />
<esri:ClassBreakInfo MinimumValue="5001" MaximumValue="10000" Symbol="{StaticResource x5001-10000LineSymbol}" />
<esri:ClassBreakInfo MinimumValue="10001" MaximumValue="15000" Symbol="{StaticResource x10001-15000LineSymbol}" />
<esri:ClassBreakInfo MinimumValue="15001" MaximumValue="20000" Symbol="{StaticResource x15001-20000LineSymbol}" />
<esri:ClassBreakInfo MinimumValue="20001" MaximumValue="25000" Symbol="{StaticResource x20001-25000LineSymbol}" />
</esri:ClassBreaksRenderer.Classes>
</esri:ClassBreaksRenderer>
For some reason it fails when applied to my layer. <esri:FeatureLayer ID="RoadwaysLayer"
DisableClientCaching="True"
Url="http://gismaps.pagnet.org/ArcGIS/rest/services/PAG_TrafficCounts/MapServer/3"
OutFields="*"
Renderer="MyClassBreaksRenderer"
/>
Thanks