<?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 Horizontal legend using the javascript api? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700789#M65266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a legend that is horizontal using the javascript api. I can't seem to to it with the legenddijit. Has anyone been able to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2014 19:01:09 GMT</pubDate>
    <dc:creator>DavidYarnell</dc:creator>
    <dc:date>2014-11-25T19:01:09Z</dc:date>
    <item>
      <title>Horizontal legend using the javascript api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700789#M65266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a legend that is horizontal using the javascript api. I can't seem to to it with the legenddijit. Has anyone been able to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 19:01:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700789#M65266</guid>
      <dc:creator>DavidYarnell</dc:creator>
      <dc:date>2014-11-25T19:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal legend using the javascript api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700790#M65267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ran a few quick tests and it looks like you can do this using css. The legend is created using tables and rows so if you set the row to float left you should get a horizontally aligned legend.&amp;nbsp; Here's the css I added to my test app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .esriLegendLayer tr{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; float:left;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here's a fiddle showing my test app: &lt;/P&gt;&lt;P&gt;&lt;A href="http://jsfiddle.net/0jar9op1/" title="http://jsfiddle.net/0jar9op1/" rel="nofollow noopener noreferrer" target="_blank"&gt;Edit fiddle - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700790#M65267</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-12T05:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal legend using the javascript api?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700791#M65268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kelly this worked great!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 05:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/horizontal-legend-using-the-javascript-api/m-p/700791#M65268</guid>
      <dc:creator>DavidYarnell</dc:creator>
      <dc:date>2014-11-26T05:53:52Z</dc:date>
    </item>
  </channel>
</rss>

