<?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: Inserting max on sgpanel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836599#M330785</link>
    <description>Yes, that worked, thanks!</description>
    <pubDate>Mon, 03 Oct 2022 21:41:22 GMT</pubDate>
    <dc:creator>Kaeslock223_</dc:creator>
    <dc:date>2022-10-03T21:41:22Z</dc:date>
    <item>
      <title>Inserting max on sgpanel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836589#M330781</link>
      <description>&lt;P&gt;I can't figure out where I am supposed to put y axis max value. I am trying to stop the y axis at 30 percent instead of the full 100. I've tried adding max=0.3 on the colaxis line but it does not work nor does it work on the panelby statement. I've also tried to make a new colaxis or replace the one I have, but it will not change the y-axis. Here is my code below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on / width=9in;&lt;BR /&gt;ods graphics on / height=7in;&lt;BR /&gt;proc sgpanel data = final;&lt;BR /&gt;title "Race Distribution of Hypertension events across Metroplex";&lt;BR /&gt;where Program= "Hypertension";&lt;BR /&gt;styleattrs datacolors=(blue green red purple orange pink yellow) datacontrastcolors=(blue green red purple orange pink yellow);&lt;BR /&gt;panelby a b c d e/columns=5 noheader spacing=0;&lt;BR /&gt;rowaxis label="Percentage of Frequency of Events";&lt;BR /&gt;label freq_race=".";&lt;BR /&gt;vbar freq_race/ group=Race stat=pct dataskin=matte;&lt;BR /&gt;keylegend/ outerpad=2;&lt;BR /&gt;colaxis display= (novalues noticks);&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 20:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836589#M330781</guid>
      <dc:creator>Kaeslock223_</dc:creator>
      <dc:date>2022-10-03T20:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting max on sgpanel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836590#M330782</link>
      <description>&lt;P&gt;So changing your colaxis statement to this does not work?&lt;/P&gt;
&lt;P&gt;Can you show the log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;colaxis display= (novalues noticks) max = 0.3;
colaxis display= (novalues noticks) max = 30; *not sure what units are used;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Oct 2022 20:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836590#M330782</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-10-03T20:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting max on sgpanel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836592#M330783</link>
      <description>&lt;P&gt;Typically for SGPANEL the Y axis is the Rowaxis.&lt;/P&gt;
&lt;P&gt;So add Max= 0.3 to your Rowaxis statement.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 21:03:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836592#M330783</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-10-03T21:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting max on sgpanel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836599#M330785</link>
      <description>Yes, that worked, thanks!</description>
      <pubDate>Mon, 03 Oct 2022 21:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inserting-max-on-sgpanel/m-p/836599#M330785</guid>
      <dc:creator>Kaeslock223_</dc:creator>
      <dc:date>2022-10-03T21:41:22Z</dc:date>
    </item>
  </channel>
</rss>

