<?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 Re: Class Break Renderer missing classes in legend in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748891#M69293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We were able to replicate this in our code too.&amp;nbsp; When you mention you liked the option of changing the legend to respond to what is currently visible, is that autoUpdate or some other parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I notice the default to this is true.&amp;nbsp; Does setting this to 'false' help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Oct 2015 14:28:35 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2015-10-30T14:28:35Z</dc:date>
    <item>
      <title>Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748886#M69288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the Javascript API for a custom web app.&amp;nbsp; The class break renderer that I'm using for polygon feature symbology with unique class values is displaying correctly in the map and the legend widget is also showing the classes correctly.&amp;nbsp; However, when I send the map to my 10.2.2 print service, the legend in the output map drops some of the class breaks at times (not always).&amp;nbsp; The JSON sent to the print service looks correct as well.&amp;nbsp; Any ideas or similar issues?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Frederick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 07:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748886#M69288</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2015-02-06T07:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748887#M69289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found that the missing legend classes in the print export map are a result of the active dataset that does not contain any values in the specific class range and hence the "empty" class gets dropped from the legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would still like to see the full range for the class breaks in the print export map legend, because sometimes the missing class breaks are for values in the middle of the data range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 13:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748887#M69289</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2015-02-19T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748888#M69290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to hijack this thread but I'm seeing the same behavior not only in Class Breaks but also a unique values renderer. Essentially, if a feature is not found in the current map extent, it's not included in the legend that's created with the Print widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first screenshot shows the MXD which is the origin of one of the published services. The second screenshot is a portion of the output PDF and you can see that the first two classes from the class breaks are missing (because there are no values within the map extent).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like the option of legends limited by what's visible but at times like this, I want to show the full symbology, be it a class breaks or unique values renderer (the TipPoint &amp;amp; TipLine layers have A,B,C,D,E,F values in the service but only C &amp;amp; E features are present within the current map extent). What gives?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="serviceMXD.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/134201_serviceMXD.jpg" style="height: auto;" /&gt;&lt;IMG alt="print_export_outcome.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/134202_print_export_outcome.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 21:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748888#M69290</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-10-29T21:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748889#M69291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really?&amp;nbsp; I would never have expected a particular class break value to fall under&amp;nbsp; 'if it's not currently on the map, it's not in the legend'.&amp;nbsp;&amp;nbsp; That's messed up.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've been working on a project and all our printing test have been to the full extent, where all the classes have been visible.&amp;nbsp; Obviously we need to check what happens once the user zooms into a smaller area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 21:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748889#M69291</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-29T21:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748890#M69292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I'm doing something wrong but, yeah- if that's how it's designed to work, ugh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 21:31:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748890#M69292</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-10-29T21:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748891#M69293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We were able to replicate this in our code too.&amp;nbsp; When you mention you liked the option of changing the legend to respond to what is currently visible, is that autoUpdate or some other parameter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I notice the default to this is true.&amp;nbsp; Does setting this to 'false' help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 14:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748891#M69293</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748892#M69294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had no idea there was a setting. I've been following the &lt;A href="http://dmc-gis1.snoco.co.snohomish.wa.us:6080/arcgis/help/en/index.html#/Tutorial_Publishing_additional_services_for_printing/0154000005n1000000/"&gt;Publishing additional services for printing tutorial&lt;/A&gt; to add different print sizes to my application so I only looked at the printTemplate object for option settings but didn't see anything. I'm not sure how you would intercept the process to tweak the legend dijit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, this selective legend + the actual look of what DOES get generated is pushing me towards just creating a legend in my print template and coverting it to graphics. One of my layers which has a transparency option won't match exactly but the rest of the legend will look exactly how I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two steps forward, one step back, eh?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 14:59:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748892#M69294</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2015-10-30T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748893#M69295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was the initial poster, but as you mentioned, we've sort of hijacked this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For our project, the GIS is part of comprehensive data query portal.&amp;nbsp;&amp;nbsp; All the data is generated from an external database and joined on-the-fly based on the user selection.&amp;nbsp; This means the class breaks and the resultant legend will always change.&amp;nbsp; A static legend is not an option for me.&amp;nbsp; If only it was that easy!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 15:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748893#M69295</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T15:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Class Break Renderer missing classes in legend</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748894#M69296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found two parameters autoUpdate and respectCurrentMapScale.&amp;nbsp; If I understand the documentation correctly, respectCurrentMapScale deals with sublayers.&amp;nbsp; I would think that rendering a layer either with unique values or class breaks is defining sublayers of that layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Legend API help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;&lt;SPAN style="font-size: 12pt;"&gt;When true the legend will update with every scale change and displays only the layers and sub layers that are visible in the current map scale. When false, the legend does not update on every scale change and all layers and sub layers will be displayed. The default value is true.&lt;/SPAN&gt;&lt;/H4&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 19:59:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/class-break-renderer-missing-classes-in-legend/m-p/748894#M69296</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-30T19:59:45Z</dc:date>
    </item>
  </channel>
</rss>

