<?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: keylegend list value down before going across in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/688246#M20548</link>
    <description>&lt;P&gt;In the SG procedures, if you use the DOWN option (without ACROSS), the ORDER is internally set to COLUMNMAJOR. In your case, if you set DOWN=2, you will get the desired result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 15:05:57 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2020-10-01T15:05:57Z</dc:date>
    <item>
      <title>keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687860#M20541</link>
      <description>&lt;P&gt;Hey there!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I have a keylegend on my sgplot with several rows (down = ) and columns (across = ), the legend values get filled across each row first, and then goes down to the next.&amp;nbsp; E.g.&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; 2&amp;nbsp; 3&amp;nbsp; 4&lt;/P&gt;
&lt;P&gt;5&amp;nbsp; 6&amp;nbsp; 7&lt;/P&gt;
&lt;P&gt;Is there an option to easily make it go down first?&amp;nbsp; I know I can make an attribute map, but I was hoping there is an easy option to toggle in the keylegend statement.&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; 3&amp;nbsp; 5&amp;nbsp; 7&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; 4&amp;nbsp; 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687860#M20541</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2020-09-30T15:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687867#M20542</link>
      <description>&lt;P&gt;You don't show the code. So I can't tell if you are specifying down= , across= or both.&lt;/P&gt;
&lt;P&gt;Try using just the Down= option.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687867#M20542</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-30T15:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687875#M20543</link>
      <description>Hello!  If I understand correctly you want it the values to fill the columns and then rows.  I don't see the option in SGPLOT, but if you convert your code to GTL the option is in the DISCRETELEGEND statement:&lt;BR /&gt;&lt;BR /&gt;ORDER=ROWMAJOR | COLUMNMAJOR&lt;BR /&gt;specifies whether legend entries are organized into rows or into columns.</description>
      <pubDate>Wed, 30 Sep 2020 16:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687875#M20543</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2020-09-30T16:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687887#M20544</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; I figured it was somewhere.&amp;nbsp; I think converting to GTL is more work than the data attributes map, but maybe only because I don't know how to do it!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 17:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687887#M20544</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2020-09-30T17:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687964#M20547</link>
      <description>A quick tip if you ever want to see what your SGPLOT code looks like in GTL is to use the TMPLOUT= option in the PROC SGPLOT statement.  It will save a program with your current graph written in GTL.</description>
      <pubDate>Wed, 30 Sep 2020 19:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/687964#M20547</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2020-09-30T19:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/688246#M20548</link>
      <description>&lt;P&gt;In the SG procedures, if you use the DOWN option (without ACROSS), the ORDER is internally set to COLUMNMAJOR. In your case, if you set DOWN=2, you will get the desired result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 15:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/688246#M20548</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-10-01T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/688992#M20553</link>
      <description>That's cool to know.  Hadn't heard of that yet.</description>
      <pubDate>Mon, 05 Oct 2020 19:45:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/688992#M20553</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2020-10-05T19:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: keylegend list value down before going across</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/689406#M20569</link>
      <description>Thanks, Dan!</description>
      <pubDate>Wed, 07 Oct 2020 01:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/keylegend-list-value-down-before-going-across/m-p/689406#M20569</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2020-10-07T01:52:45Z</dc:date>
    </item>
  </channel>
</rss>

