<?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: Can we get second y-axis using &amp;quot;Proc SGpanel&amp;quot; ? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216035#M8056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice, I have idea of GTL and i am using it to produce Yaxis on right side. Just want to know is there any possibility of getting it by SGPANEL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again for you answer and advice. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 00:57:50 GMT</pubDate>
    <dc:creator>DR_Majeti</dc:creator>
    <dc:date>2015-05-18T00:57:50Z</dc:date>
    <item>
      <title>Can we get second y-axis using "Proc SGpanel" ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216033#M8054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we get second y-axis using "Proc SGpanel" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using SGPlot we can achieve by it by "y2axis" statement but how do we get it by using SGPanel procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 09:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216033#M8054</guid>
      <dc:creator>DR_Majeti</dc:creator>
      <dc:date>2015-05-17T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get second y-axis using "Proc SGpanel" ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216034#M8055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get an axis on the right side, but it has to be the same as the Y axis.&amp;nbsp; Y2AXIS option on the plot statement is not supported in SGPANEL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is where you will need to move up to GTL.&amp;nbsp; Bar Chart and other BASIC plot statements are allowed in Layout DataLattice.&amp;nbsp; But not statements that need data summarization like Histogram, etc.&amp;nbsp; If you need those, you will have to summarize (or min) the data yourself.&amp;nbsp; GTL code attached:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should work with SAS 9.3.&amp;nbsp; But &lt;STRONG&gt;Columnweight=Proportional&lt;/STRONG&gt; needs SAS 9.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;&amp;nbsp; define statgraph Y2Panel;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; begingraph;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entrytitle 'Mileage and Horsepower by Origin and Type';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout datalattice columnvar=origin / headerlabeldisplay=value columnweight=proportional&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columnaxisopts=(display=(tickvalues) discreteopts=(tickvaluefitpolicy=none))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rowaxisopts=(offsetmin=0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row2axisopts=(offsetmin=0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layout prototype;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=type y=mpg_city / discreteoffset=-0.2 name='a'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barwidth=0.4 stat=mean fillattrs=graphdata1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; barchart x=type y=horsepower / discreteoffset=0.2 barwidth=0.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stat=mean yaxis=y2 fillattrs=graphdata2 name='b';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sidebar / spacefill=false;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; discretelegend 'a' 'b';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endsidebar;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endlayout;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endgraph;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=8in height=4in imagename='Y2Panel';&lt;/P&gt;&lt;P&gt;proc sgrender data=sashelp.cars(where=(type ne 'Hybrid')) template=Y2Panel;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10459" alt="Y2Panel.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10459_Y2Panel.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 11:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216034#M8055</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-05-17T11:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can we get second y-axis using "Proc SGpanel" ?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216035#M8056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your advice, I have idea of GTL and i am using it to produce Yaxis on right side. Just want to know is there any possibility of getting it by SGPANEL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again for you answer and advice. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 00:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Can-we-get-second-y-axis-using-quot-Proc-SGpanel-quot/m-p/216035#M8056</guid>
      <dc:creator>DR_Majeti</dc:creator>
      <dc:date>2015-05-18T00:57:50Z</dc:date>
    </item>
  </channel>
</rss>

