<?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 Legend Advice (Normalised Data) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-advice-normalised-data/m-p/195068#M18018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a polygons layer (postcodes) and a points layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each point can be of any 5 languages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have pre-calculated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- total points in each polgyon (Total)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Total of each Language in each polygon (TotalArabic, TotalSpanish, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Normalised Values for each language (TotalArabic/Total, TotalSpanish/Total, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have served these up as a dynamic map services at 10.1 SP1, and enabled dynamic layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a dropdown to choose one of the 5 languages on my app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making use of the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/renderer_generate_renderer.html"&gt;GenerateRenderer&lt;/A&gt;&lt;SPAN&gt; to request a map (5 classes, natural breaks, fixed color ramp).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using each of the corresponding fields for the pre-calculated normalised values for language counts (as I do not think the renderer supports normalising on the fly?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works as expected, but I would now like to explain to the end-user what the colours indicate (i.e. darker blues indicate higher overall concentration of XX language within this postcode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is, the normalised values do not mean much to the end-user:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]20191[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for some advise from both a UX &amp;amp; development perspective, on the best path forward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was toying with the idea of having a static legend that appears when a value in the dropdown has been picked, with no labels, but some kind of graphical indicator that darker blue means more concentrated.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also wondering if you can override the labels in the legend to show something easier to understand like percentage values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume I could perhaps get around this by hard-coding the class break values in the renderer, but then I lose a true natural breaks classfication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would love to hear some ideas on how you would go about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2012 08:34:53 GMT</pubDate>
    <dc:creator>SimonJackson</dc:creator>
    <dc:date>2012-12-26T08:34:53Z</dc:date>
    <item>
      <title>Legend Advice (Normalised Data)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-advice-normalised-data/m-p/195068#M18018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a polygons layer (postcodes) and a points layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each point can be of any 5 languages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have pre-calculated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- total points in each polgyon (Total)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Total of each Language in each polygon (TotalArabic, TotalSpanish, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Normalised Values for each language (TotalArabic/Total, TotalSpanish/Total, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have served these up as a dynamic map services at 10.1 SP1, and enabled dynamic layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a dropdown to choose one of the 5 languages on my app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making use of the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/renderer_generate_renderer.html"&gt;GenerateRenderer&lt;/A&gt;&lt;SPAN&gt; to request a map (5 classes, natural breaks, fixed color ramp).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using each of the corresponding fields for the pre-calculated normalised values for language counts (as I do not think the renderer supports normalising on the fly?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works as expected, but I would now like to explain to the end-user what the colours indicate (i.e. darker blues indicate higher overall concentration of XX language within this postcode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is, the normalised values do not mean much to the end-user:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]20191[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for some advise from both a UX &amp;amp; development perspective, on the best path forward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was toying with the idea of having a static legend that appears when a value in the dropdown has been picked, with no labels, but some kind of graphical indicator that darker blue means more concentrated.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also wondering if you can override the labels in the legend to show something easier to understand like percentage values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume I could perhaps get around this by hard-coding the class break values in the renderer, but then I lose a true natural breaks classfication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would love to hear some ideas on how you would go about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2012 08:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-advice-normalised-data/m-p/195068#M18018</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2012-12-26T08:34:53Z</dc:date>
    </item>
  </channel>
</rss>

