<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error when assigning ClassBreaksRenderer to BiUniqueValueRenderer in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722347#M19272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"&gt;I am creating a BiUniqueValueRenderer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;IBivariateRenderer bivariateRenderer = new BiUniqueValueRendererClass();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #303030;"&gt;// Assign renderers it to biunique value renderer &lt;/SPAN&gt; &lt;SPAN style="color: #303030;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;bivariateRenderer.MainRenderer = (IFeatureRenderer)uniqueValueRend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;bivariateRenderer.VariationRenderer = (IFeatureRenderer)classBreaksRend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;When I'm assigning the classBreaksRend to the bivariateRenderer, there is following error message: "Value is outside expected range".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;I have assigned both the uniqueValueRenderer and the ClassBreaksRenderer separately to the layer, and both work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Here is the code for creating the ClassBreaksRenderer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;IClassBreaksRenderer&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; classBreaksRend = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ClassBreaksRenderer&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;// Define the table histogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;ITableHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; tableHistogram = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ITableHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;TableHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;tableHistogram.Field = fieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;tableHistogram.Table = (ITable)featLayer;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;IHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; histogram = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;IHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) tableHistogram;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; doubleArrayValues;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; longArrayFequencies;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;histogram.GetHistogram(out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; doubleArrayValues, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; longArrayFequencies);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;// Set up classification method&lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;IClassifyGEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; classifyGen = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;EqualInterval&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classifyGen.Classify(doubleArrayValues, longArrayFrequencies, ref numClasses);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[] classBreaks = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[]) classifyGen.ClassBreaks;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;// Set renderer properties&lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classBreaksRend.Field = fieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classBreaksRend.FieldCount = numClasses;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classBreaksRend.MinimumBreak = classBreaks[0];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;// Interpolate marker sizes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;List&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt; markerSizes = InterpolateMarkerSizes(numClasses, markerSymbol.Size, maxSymbolSize);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;// Step through breaks and assign breaks, labels, and symbols&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;for (int i = 0; i &amp;lt; numClasses; i++)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; classBreaksRend.set_Break(i, classBreaks[i+1]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; classBreaksRend.set_Label(i, classBreaks&lt;I&gt; + " - " + classBreaks[i + 1]);&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; markerSymbol.Size = markerSizes&lt;I&gt;;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; classBreaksRend.set_Symbol(i, (ISymbol)markerSymbol);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 10:33:36 GMT</pubDate>
    <dc:creator>BarbaraSchneider1</dc:creator>
    <dc:date>2015-12-17T10:33:36Z</dc:date>
    <item>
      <title>Error when assigning ClassBreaksRenderer to BiUniqueValueRenderer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722347#M19272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"&gt;I am creating a BiUniqueValueRenderer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;IBivariateRenderer bivariateRenderer = new BiUniqueValueRendererClass();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #303030;"&gt;// Assign renderers it to biunique value renderer &lt;/SPAN&gt; &lt;SPAN style="color: #303030;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;bivariateRenderer.MainRenderer = (IFeatureRenderer)uniqueValueRend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;bivariateRenderer.VariationRenderer = (IFeatureRenderer)classBreaksRend;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;When I'm assigning the classBreaksRend to the bivariateRenderer, there is following error message: "Value is outside expected range".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;I have assigned both the uniqueValueRenderer and the ClassBreaksRenderer separately to the layer, and both work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Here is the code for creating the ClassBreaksRenderer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;IClassBreaksRenderer&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; classBreaksRend = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ClassBreaksRenderer&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;// Define the table histogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;ITableHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; tableHistogram = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ITableHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;TableHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;tableHistogram.Field = fieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;tableHistogram.Table = (ITable)featLayer;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;IHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; histogram = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;IHistogram&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) tableHistogram;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; doubleArrayValues;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;object&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; longArrayFequencies;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;histogram.GetHistogram(out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; doubleArrayValues, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; longArrayFequencies);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;// Set up classification method&lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;IClassifyGEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; classifyGen = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;EqualInterval&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classifyGen.Classify(doubleArrayValues, longArrayFrequencies, ref numClasses);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[] classBreaks = (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[]) classifyGen.ClassBreaks;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;// Set renderer properties&lt;/SPAN&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classBreaksRend.Field = fieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classBreaksRend.FieldCount = numClasses;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;classBreaksRend.MinimumBreak = classBreaks[0];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;// Interpolate marker sizes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;List&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;double&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt; markerSizes = InterpolateMarkerSizes(numClasses, markerSymbol.Size, maxSymbolSize);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: courier new,courier;"&gt;// Step through breaks and assign breaks, labels, and symbols&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;for (int i = 0; i &amp;lt; numClasses; i++)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; classBreaksRend.set_Break(i, classBreaks[i+1]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; classBreaksRend.set_Label(i, classBreaks&lt;I&gt; + " - " + classBreaks[i + 1]);&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; markerSymbol.Size = markerSizes&lt;I&gt;;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; classBreaksRend.set_Symbol(i, (ISymbol)markerSymbol);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 10:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722347#M19272</guid>
      <dc:creator>BarbaraSchneider1</dc:creator>
      <dc:date>2015-12-17T10:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error when assigning ClassBreaksRenderer to BiUniqueValueRenderer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722348#M19273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, first you might want to check if their symbol types match or not. Besides have you tried to manually set these two renders in ArcMap to see if it works? As mentioned here &lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0012000002m8000000" title="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0012000002m8000000"&gt;http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//0012000002m8000000&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 16:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722348#M19273</guid>
      <dc:creator>YuanLiu</dc:creator>
      <dc:date>2015-12-22T16:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error when assigning ClassBreaksRenderer to BiUniqueValueRenderer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722349#M19274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the symbol types match: I'm using Simple Marker Symbols for both the UniqueValueRenderer and the ClassBreaksRenderer.&lt;/P&gt;&lt;P&gt;I have manually set these two renderers in ArcMap and it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 09:27:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/error-when-assigning-classbreaksrenderer-to/m-p/722349#M19274</guid>
      <dc:creator>BarbaraSchneider1</dc:creator>
      <dc:date>2016-01-04T09:27:24Z</dc:date>
    </item>
  </channel>
</rss>

