<?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 Dynamic Renderers with custom colorRamps in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172193#M4006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know the format for the colorRamp array?&amp;nbsp; I am getting type conversion errors on the colorRamp. The 3.0 API documentation doesn't appear to specify the type for the items in the array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:MultipartColorRamp id="colorRamp"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;esri:colorRamps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Array&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0x5C8944&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0x89CD66&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0xF5CA7A&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0xE69800&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0xA87000&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Array&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:colorRamps&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/esri:MultipartColorRamp&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 16:49:07 GMT</pubDate>
    <dc:creator>ErikMyers</dc:creator>
    <dc:date>2012-07-03T16:49:07Z</dc:date>
    <item>
      <title>Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172193#M4006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know the format for the colorRamp array?&amp;nbsp; I am getting type conversion errors on the colorRamp. The 3.0 API documentation doesn't appear to specify the type for the items in the array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:MultipartColorRamp id="colorRamp"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;esri:colorRamps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Array&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0x5C8944&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0x89CD66&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0xF5CA7A&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0xE69800&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:uint&amp;gt;0xA87000&amp;lt;/fx:uint&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Array&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:colorRamps&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/esri:MultipartColorRamp&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 16:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172193#M4006</guid>
      <dc:creator>ErikMyers</dc:creator>
      <dc:date>2012-07-03T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172194#M4007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MultipartColorRamp.colorRamps should be an Array of AlgorithmicColorRamp instances.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/MultipartColorRamp.html#colorRamps"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/MultipartColorRamp.html#colorRamps&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 18:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172194#M4007</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-07-03T18:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172195#M4008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The documentation is not very clear on the ArcGIS Flex API side, The javascript documentation tells a bit more and we were able to get this working. However, the algorithmic color ramp seems to be changing the color when we try to make 5 solid colors. Compare this sample with the color page listed below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MultipartColorRamp id="colorRamp"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;esri:colorRamps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp fromColor="0x5C8944" toColor="0x5C8944"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp fromColor="0x89CD66" toColor="0x89CD66"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp fromColor="0xF5CA7A" toColor="0xF5CA7A"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp fromColor="0xE69800" toColor="0xE69800"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp fromColor="0xA87000" toColor="0xA87000"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:colorRamps&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/esri:MultipartColorRamp&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The forth color should look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.colorhexa.com/e69800"&gt;http://www.colorhexa.com/e69800&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 20:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172195#M4008</guid>
      <dc:creator>JonBaier</dc:creator>
      <dc:date>2012-07-12T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172196#M4009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, looks like we had a rogue semi-transparent layer on top. Everything is working okay now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any plans to include a simpler class that doesn't require an algorithmic gradient for a solid color?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 17:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172196#M4009</guid>
      <dc:creator>JonBaier</dc:creator>
      <dc:date>2012-07-20T17:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172197#M4010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, so not completely out of the woods yet. If you use the color ramp listed above with the example here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq0000006z000000"&gt;http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq0000006z000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will see that the legend shows one more group then is specified in the color breaks (i.e. 9 breaks gives 10 results)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to get a working example of using MultipartColorRamp with 5 solid predetermined colors?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 19:34:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172197#M4010</guid>
      <dc:creator>JonBaier</dc:creator>
      <dc:date>2012-07-31T19:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172198#M4011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd just like to add a slight addition to Jon's comment in case you are having trouble replicating the problem.&amp;nbsp; You get 6 class breaks when the selector is set to 5.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 14:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172198#M4011</guid>
      <dc:creator>ErikMyers</dc:creator>
      <dc:date>2012-08-01T14:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Renderers with custom colorRamps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172199#M4012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are still having a problem getting the specified colors to render correctly in the application.&amp;nbsp; With this array of 5 algorithmicColorRamp instances and the number of class breaks set to 5, the first color (dark green) is displayed for both the first class and last class. The last color in the array (burnt orange) never renders and the first color in the array (dark green) is rendered twice (first and last).&amp;nbsp; This is occuring in both my application and the Generate Renderer sample code I copied from your flex API website.&amp;nbsp; Do you have any suggestions about how to fix this issue or update the array to work for the required application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:MultipartColorRamp id="colorRamp"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;esri:colorRamps&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!--dark green--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0x5C8944" toColor="0x5C8944"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!--light green--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0x89CD66" toColor="0x89CD66"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!--tan--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0xF5CA7A" toColor="0xF5CA7A"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!--dark tan--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0xE69800" toColor="0xE69800"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!--burnt orange--&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:AlgorithmicColorRamp algorithm="esriCIELabAlgorithm" fromColor="0xA87000" toColor="0xA87000"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/esri:colorRamps&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/esri:MultipartColorRamp&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 17:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-renderers-with-custom-colorramps/m-p/172199#M4012</guid>
      <dc:creator>ErikMyers</dc:creator>
      <dc:date>2012-09-10T17:03:38Z</dc:date>
    </item>
  </channel>
</rss>

