<?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 PROC SGPANEL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPANEL/m-p/440922#M15212</link>
    <description>&lt;P&gt;Ho do i get rid of white space within each cell that results from altering the variable used as datalabel (see attached pdf image).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g. in cell "-Overall-" I want to show the discrepancy in timeliness of first antibiotics administrations and subsequent administrations. The green line presents first administration and the dark green line subsequent administrations. The vertical bar chart is the distribtion for the first administration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use labels that only contain "60.0%" and "44.1%", I don't have a problem with white space. But I want to help the reader and added " | 1st admin." and " |nth admin." using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum30cL=strip(strip(sum30c)!!" | 1st admin.");&lt;BR /&gt;sum30cOverallL=strip(strip(sum30cOverall)!!" | nth admin.");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum30cL and sum30cOverallL have normal length, format and informat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows the reason of the sudden white space on the right side within each cell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code for plot:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods listing;&lt;BR /&gt;ods graphics /&lt;BR /&gt;reset=index&lt;BR /&gt;imagename='Figure overall colour'&lt;BR /&gt;imagefmt=jpg&lt;BR /&gt;width=40cm&lt;BR /&gt;height=30cm&lt;BR /&gt;noborder;&lt;BR /&gt;ods listing gpath="&amp;amp;bron " image_dpi=400;&lt;BR /&gt;proc sgpanel data=fig1tot noautolegend;&lt;BR /&gt;panelby ABclass /&lt;BR /&gt;columns=2&lt;BR /&gt;rows=5&lt;BR /&gt;spacing=5&lt;BR /&gt;novarname&lt;BR /&gt;noborder&lt;BR /&gt;noheaderborder&lt;BR /&gt;skipemptycells&lt;BR /&gt;headerbackcolor="#2c7fb8"&lt;BR /&gt;headerattrs=(color=white size=8 weight=bold family=calibri)&lt;BR /&gt;sort=ascformat;&lt;BR /&gt;vline diffvstoedcat /response=sum30 lineattrs=(color="#b3de69" pattern=solid thickness=2)&lt;BR /&gt;datalabel=sum30cL datalabelpos=right datalabelattrs=(size=8 color=darkgrey family=calibri weight=bold);&lt;BR /&gt;vline diffvstoedcat /response=sum30Overall lineattrs=(color="darkgreen" pattern=solid thickness=2)&lt;BR /&gt;datalabel=sum30cOverallL datalabelpos=right datalabelattrs=(size=8 color=darkgrey family=calibri weight=bold);&lt;BR /&gt;vbar diffvstoedcat / response=_PERC_&lt;BR /&gt;baselineattrs=(thickness=0)&lt;BR /&gt;nozerobars&lt;BR /&gt;colorresponse=diffvstoedcat2 colormodel=("#b3de69" "#fb8072" "black")&lt;BR /&gt;nooutline fill&lt;BR /&gt;datalabel=_PERC_2 datalabelattrs=(size=6 color=darkgrey family=calibri) datalabelfitpolicy=rotate;&lt;BR /&gt;dropline x=0 y=30/ lineattrs=(pattern=36 thickness=1 color="#377eb8") dropto=x;&lt;BR /&gt;rowaxis display=(noline noticks) label="Percentage"&lt;BR /&gt;valueattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal)&lt;BR /&gt;values=(0,10,20,30,40,50,60,70,75)&lt;BR /&gt;valuesdisplay=("0%" "10%" "20%" "30%" "40%" "50%" "60%" "70%" "")&lt;BR /&gt;labelattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal&lt;BR /&gt;weight=bold);&lt;BR /&gt;colaxis display=(noticks) label="Minutes deviation from prescribed"&lt;BR /&gt;valueattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal)&lt;BR /&gt;values=(-13 to 14 by 1)&lt;BR /&gt;valuesdisplay=("&amp;gt;-120min" "-110min to -119min" "-100min to -109min" "-90min to -99min" "-80min to -89min"&lt;BR /&gt;"-70min to -79min" "-60min to -69min" "-50min to -59min" "-40min to -49min" "-30 to -39min" "-20min to -29min"&lt;BR /&gt;"-10min to -19min" "0min to -9min" "0" "0min to 9min" "10min to 19min"&lt;BR /&gt;"20min to 29min" "30min to 39min" "40min to 49min"&lt;BR /&gt;"50min to 59min" "60min to 69min" "70min to 79min"&lt;BR /&gt;"80min to 89min" "90min to 99min" "100min to 109min"&lt;BR /&gt;"110min to 119min" "&amp;gt;120min" "Not administered")&lt;BR /&gt;labelattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal&lt;BR /&gt;weight=bold);&lt;BR /&gt;colaxistable _FREQ_/&lt;BR /&gt;label&lt;BR /&gt;position=bottom&lt;BR /&gt;droponmissing&lt;BR /&gt;valueattrs= (family=calibri&lt;BR /&gt;size=5&lt;BR /&gt;style=normal)&lt;BR /&gt;labelattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal);&lt;BR /&gt;label _FREQ_="n=";&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;BR /&gt;ods listing close;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 15:40:19 GMT</pubDate>
    <dc:creator>lukoste</dc:creator>
    <dc:date>2018-02-28T15:40:19Z</dc:date>
    <item>
      <title>PROC SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPANEL/m-p/440922#M15212</link>
      <description>&lt;P&gt;Ho do i get rid of white space within each cell that results from altering the variable used as datalabel (see attached pdf image).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g. in cell "-Overall-" I want to show the discrepancy in timeliness of first antibiotics administrations and subsequent administrations. The green line presents first administration and the dark green line subsequent administrations. The vertical bar chart is the distribtion for the first administration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use labels that only contain "60.0%" and "44.1%", I don't have a problem with white space. But I want to help the reader and added " | 1st admin." and " |nth admin." using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum30cL=strip(strip(sum30c)!!" | 1st admin.");&lt;BR /&gt;sum30cOverallL=strip(strip(sum30cOverall)!!" | nth admin.");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum30cL and sum30cOverallL have normal length, format and informat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows the reason of the sudden white space on the right side within each cell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code for plot:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods listing;&lt;BR /&gt;ods graphics /&lt;BR /&gt;reset=index&lt;BR /&gt;imagename='Figure overall colour'&lt;BR /&gt;imagefmt=jpg&lt;BR /&gt;width=40cm&lt;BR /&gt;height=30cm&lt;BR /&gt;noborder;&lt;BR /&gt;ods listing gpath="&amp;amp;bron " image_dpi=400;&lt;BR /&gt;proc sgpanel data=fig1tot noautolegend;&lt;BR /&gt;panelby ABclass /&lt;BR /&gt;columns=2&lt;BR /&gt;rows=5&lt;BR /&gt;spacing=5&lt;BR /&gt;novarname&lt;BR /&gt;noborder&lt;BR /&gt;noheaderborder&lt;BR /&gt;skipemptycells&lt;BR /&gt;headerbackcolor="#2c7fb8"&lt;BR /&gt;headerattrs=(color=white size=8 weight=bold family=calibri)&lt;BR /&gt;sort=ascformat;&lt;BR /&gt;vline diffvstoedcat /response=sum30 lineattrs=(color="#b3de69" pattern=solid thickness=2)&lt;BR /&gt;datalabel=sum30cL datalabelpos=right datalabelattrs=(size=8 color=darkgrey family=calibri weight=bold);&lt;BR /&gt;vline diffvstoedcat /response=sum30Overall lineattrs=(color="darkgreen" pattern=solid thickness=2)&lt;BR /&gt;datalabel=sum30cOverallL datalabelpos=right datalabelattrs=(size=8 color=darkgrey family=calibri weight=bold);&lt;BR /&gt;vbar diffvstoedcat / response=_PERC_&lt;BR /&gt;baselineattrs=(thickness=0)&lt;BR /&gt;nozerobars&lt;BR /&gt;colorresponse=diffvstoedcat2 colormodel=("#b3de69" "#fb8072" "black")&lt;BR /&gt;nooutline fill&lt;BR /&gt;datalabel=_PERC_2 datalabelattrs=(size=6 color=darkgrey family=calibri) datalabelfitpolicy=rotate;&lt;BR /&gt;dropline x=0 y=30/ lineattrs=(pattern=36 thickness=1 color="#377eb8") dropto=x;&lt;BR /&gt;rowaxis display=(noline noticks) label="Percentage"&lt;BR /&gt;valueattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal)&lt;BR /&gt;values=(0,10,20,30,40,50,60,70,75)&lt;BR /&gt;valuesdisplay=("0%" "10%" "20%" "30%" "40%" "50%" "60%" "70%" "")&lt;BR /&gt;labelattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal&lt;BR /&gt;weight=bold);&lt;BR /&gt;colaxis display=(noticks) label="Minutes deviation from prescribed"&lt;BR /&gt;valueattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal)&lt;BR /&gt;values=(-13 to 14 by 1)&lt;BR /&gt;valuesdisplay=("&amp;gt;-120min" "-110min to -119min" "-100min to -109min" "-90min to -99min" "-80min to -89min"&lt;BR /&gt;"-70min to -79min" "-60min to -69min" "-50min to -59min" "-40min to -49min" "-30 to -39min" "-20min to -29min"&lt;BR /&gt;"-10min to -19min" "0min to -9min" "0" "0min to 9min" "10min to 19min"&lt;BR /&gt;"20min to 29min" "30min to 39min" "40min to 49min"&lt;BR /&gt;"50min to 59min" "60min to 69min" "70min to 79min"&lt;BR /&gt;"80min to 89min" "90min to 99min" "100min to 109min"&lt;BR /&gt;"110min to 119min" "&amp;gt;120min" "Not administered")&lt;BR /&gt;labelattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal&lt;BR /&gt;weight=bold);&lt;BR /&gt;colaxistable _FREQ_/&lt;BR /&gt;label&lt;BR /&gt;position=bottom&lt;BR /&gt;droponmissing&lt;BR /&gt;valueattrs= (family=calibri&lt;BR /&gt;size=5&lt;BR /&gt;style=normal)&lt;BR /&gt;labelattrs=&lt;BR /&gt;(family=calibri&lt;BR /&gt;color=black&lt;BR /&gt;size=8&lt;BR /&gt;style=normal);&lt;BR /&gt;label _FREQ_="n=";&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;BR /&gt;ods listing close;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPANEL/m-p/440922#M15212</guid>
      <dc:creator>lukoste</dc:creator>
      <dc:date>2018-02-28T15:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPANEL/m-p/440925#M15213</link>
      <description>&lt;P&gt;The space is there to account for the possibility of the VLINE going to the end of the axis, with your label on the end of that line. However, since you know that will not happen in your case, use the OFFSETMAX option on the COLAXIS statement to manually adjust the axis offset to remove the space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 15:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-SGPANEL/m-p/440925#M15213</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-02-28T15:46:08Z</dc:date>
    </item>
  </channel>
</rss>

