<?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 GTL - Overlaying SCATTER over VBARPARM gives extra axis line in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120411#M4649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code, with a vbarparm and a scatterplot.&amp;nbsp; If I remove the scatterplot, I get a nice graph with no extra lines; just the border around the graph.&amp;nbsp; If I uncomment the scatterplot, that works, except now I have an extra line - presumably some padding between pre-existing lines.&amp;nbsp; The bars now come from an origin line that is some distance above the box around the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to remove that line and/or padding?&amp;nbsp; I'm not entirely sure why it exists in the first place.&amp;nbsp; I do want the bars to originate from the bottom of the box line, not to originate from a nonexistent x axis line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The general concept here is that I'm placing stat test results over the bars, and since I'm using groupdisplay=cluster I cannot use datalabel; so scatter with a position of 105 seemed most reasonable as a solution. I'd be happy to consider other solutions if there is a better way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;/P&gt;&lt;P&gt;length stub $15;&lt;/P&gt;&lt;P&gt;input&lt;/P&gt;&lt;P&gt;installation $&lt;/P&gt;&lt;P&gt;stub $&lt;/P&gt;&lt;P&gt;prop&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;top=105;&lt;/P&gt;&lt;P&gt;statresult=ifc(installation='Facility','†#*',' ');&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;Facility Favorable 65&lt;/P&gt;&lt;P&gt;Facility Neutral 25 &lt;/P&gt;&lt;P&gt;Facility Unfavorable 10&lt;/P&gt;&lt;P&gt;Region Favorable 75&lt;/P&gt;&lt;P&gt;Region Neutral 15&lt;/P&gt;&lt;P&gt;Region Unfavorable 10&lt;/P&gt;&lt;P&gt;Nation Favorable 55&lt;/P&gt;&lt;P&gt;Nation Neutral 25&lt;/P&gt;&lt;P&gt;Nation Unfavorable 20&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define statgraph mybarplot;&lt;/P&gt;&lt;P&gt;begingraph /;&lt;/P&gt;&lt;P&gt;layout overlay /&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxisopts=( display=( tickvalues )&lt;/P&gt;&lt;P&gt;&amp;nbsp; TickValueAttrs=( Size=8pt Family="Arial/Bold")&lt;/P&gt;&lt;P&gt;&amp;nbsp; type=discrete discreteopts=( TickValueFitPolicy=SplitRotate sortOrder=data ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp; y2axisopts=(labelFitPolicy=Split)&lt;/P&gt;&lt;P&gt;&amp;nbsp; yaxisopts=( display=none labelFitPolicy=Split type=auto )&lt;/P&gt;&lt;P&gt;&amp;nbsp; x2axisopts=(display=none)&lt;/P&gt;&lt;P&gt;&amp;nbsp; y2axisopts=(labelFitPolicy=Split);&lt;/P&gt;&lt;P&gt;&amp;nbsp; BarChartParm X=installation Y=prop / primary=true Group=stub&lt;/P&gt;&lt;P&gt;&amp;nbsp; DataLabelAttrs=( Color=CX000000 Family="ARIAL" Size=8 Weight=bold ) Display=( Fill )&lt;/P&gt;&lt;P&gt;&amp;nbsp; barwidth=0.4 LegendLabel="Range" NAME="Facility" groupdisplay=stack&lt;/P&gt;&lt;P&gt;&amp;nbsp; grouporder=ascending dataskin=pressed&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatterplot x=installation y=top / xaxis=X primary=false markercharacter= statresult;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DiscreteLegend "Facility" / Location=Outside valign=bottom Title=" ";&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;endgraph;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sgrender data=mydata template=mybarplot;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 21:19:20 GMT</pubDate>
    <dc:creator>snoopy369</dc:creator>
    <dc:date>2013-10-22T21:19:20Z</dc:date>
    <item>
      <title>GTL - Overlaying SCATTER over VBARPARM gives extra axis line</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120411#M4649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code, with a vbarparm and a scatterplot.&amp;nbsp; If I remove the scatterplot, I get a nice graph with no extra lines; just the border around the graph.&amp;nbsp; If I uncomment the scatterplot, that works, except now I have an extra line - presumably some padding between pre-existing lines.&amp;nbsp; The bars now come from an origin line that is some distance above the box around the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to remove that line and/or padding?&amp;nbsp; I'm not entirely sure why it exists in the first place.&amp;nbsp; I do want the bars to originate from the bottom of the box line, not to originate from a nonexistent x axis line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The general concept here is that I'm placing stat test results over the bars, and since I'm using groupdisplay=cluster I cannot use datalabel; so scatter with a position of 105 seemed most reasonable as a solution. I'd be happy to consider other solutions if there is a better way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata;&lt;/P&gt;&lt;P&gt;length stub $15;&lt;/P&gt;&lt;P&gt;input&lt;/P&gt;&lt;P&gt;installation $&lt;/P&gt;&lt;P&gt;stub $&lt;/P&gt;&lt;P&gt;prop&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;top=105;&lt;/P&gt;&lt;P&gt;statresult=ifc(installation='Facility','†#*',' ');&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;Facility Favorable 65&lt;/P&gt;&lt;P&gt;Facility Neutral 25 &lt;/P&gt;&lt;P&gt;Facility Unfavorable 10&lt;/P&gt;&lt;P&gt;Region Favorable 75&lt;/P&gt;&lt;P&gt;Region Neutral 15&lt;/P&gt;&lt;P&gt;Region Unfavorable 10&lt;/P&gt;&lt;P&gt;Nation Favorable 55&lt;/P&gt;&lt;P&gt;Nation Neutral 25&lt;/P&gt;&lt;P&gt;Nation Unfavorable 20&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define statgraph mybarplot;&lt;/P&gt;&lt;P&gt;begingraph /;&lt;/P&gt;&lt;P&gt;layout overlay /&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxisopts=( display=( tickvalues )&lt;/P&gt;&lt;P&gt;&amp;nbsp; TickValueAttrs=( Size=8pt Family="Arial/Bold")&lt;/P&gt;&lt;P&gt;&amp;nbsp; type=discrete discreteopts=( TickValueFitPolicy=SplitRotate sortOrder=data ) )&lt;/P&gt;&lt;P&gt;&amp;nbsp; y2axisopts=(labelFitPolicy=Split)&lt;/P&gt;&lt;P&gt;&amp;nbsp; yaxisopts=( display=none labelFitPolicy=Split type=auto )&lt;/P&gt;&lt;P&gt;&amp;nbsp; x2axisopts=(display=none)&lt;/P&gt;&lt;P&gt;&amp;nbsp; y2axisopts=(labelFitPolicy=Split);&lt;/P&gt;&lt;P&gt;&amp;nbsp; BarChartParm X=installation Y=prop / primary=true Group=stub&lt;/P&gt;&lt;P&gt;&amp;nbsp; DataLabelAttrs=( Color=CX000000 Family="ARIAL" Size=8 Weight=bold ) Display=( Fill )&lt;/P&gt;&lt;P&gt;&amp;nbsp; barwidth=0.4 LegendLabel="Range" NAME="Facility" groupdisplay=stack&lt;/P&gt;&lt;P&gt;&amp;nbsp; grouporder=ascending dataskin=pressed&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatterplot x=installation y=top / xaxis=X primary=false markercharacter= statresult;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; DiscreteLegend "Facility" / Location=Outside valign=bottom Title=" ";&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;endgraph;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sgrender data=mydata template=mybarplot;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 21:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120411#M4649</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-10-22T21:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: GTL - Overlaying SCATTER over VBARPARM gives extra axis line</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120412#M4650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bars lift up to accommodate the possibility of the scatter point plotting at the base of a bar and being clipped in half. If you do not think that will happen with you data, set OFFSETMIN=0 in your YAXISOPTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;Dan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 21:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120412#M4650</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2013-10-22T21:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: GTL - Overlaying SCATTER over VBARPARM gives extra axis line</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120413#M4651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks DanH, figured it was something like that but couldn't find the place to set the option!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 14:05:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GTL-Overlaying-SCATTER-over-VBARPARM-gives-extra-axis-line/m-p/120413#M4651</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-10-23T14:05:35Z</dc:date>
    </item>
  </channel>
</rss>

