<?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: Fine adjusting position of xaxis label in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843909#M23300</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1668247121428.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77233i2B48C04CFB7C2E17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1668247121428.png" alt="Ksharp_0-1668247121428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Nov 2022 09:58:13 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-11-12T09:58:13Z</dc:date>
    <item>
      <title>Fine adjusting position of xaxis label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843903#M23298</link>
      <description>&lt;P&gt;The code below generates the horisontal bar chart in the picture. Within the code, in the xaxis statment the labelpos option place the xaxis label to the right. However, I would like to fine adjust the position of the xaxis label and place it a little bit to the left and below the row of thick values. Is this possible?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods listing 
	image_dpi 	  = 300                                              
	gpath		  = "C:\Temp"
	style 		  = styles.listing
;
ods graphics on /                       
	reset     = all
	outputfmt = png                       
	imagename = "Supportcommunity"    		
	scale     = on                        
	height    = 15cm                       
	width     = 12cm                      
;
title "Car sales sum of invoice"&lt;BR /&gt;;
proc sgplot 
	data= sashelp.cars;
	hbar type													
		/ 
		group= origin 									
		groupdisplay= cluster 					
		response= Invoice;
	xaxis valuesformat=COMMA12.0 	  
		label='US $' 							
		labelpos= right 					
		grid                      
		offsetmax= 0.05;
	yaxis labelpos=top;
	keylegend / location=inside 			
		position= bottomright 
		down=3 								
		outerpad=(right=22 bottom=15);
run
;
title;
footnote;
ods graphics off;
ods pdf close;
ods listing close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="How can I fine adjust the position of the xaxis label?" style="width: 799px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77232i9982AB5D4C331279/image-size/large?v=v2&amp;amp;px=999" role="button" title="Supportcommunity.png" alt="How can I fine adjust the position of the xaxis label?" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;How can I fine adjust the position of the xaxis label?&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 06:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843903#M23298</guid>
      <dc:creator>Multipla99</dc:creator>
      <dc:date>2022-11-12T06:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fine adjusting position of xaxis label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843907#M23299</link>
      <description>&lt;P&gt;Just pad lots of blanks before "$US"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;title "Car sales sum of invoice";
proc sgplot 
	data= sashelp.cars;
	hbar type													
		/ 
		group= origin 									
		groupdisplay= cluster 					
		response= Invoice;
	xaxis valuesformat=COMMA12.0 	  
		&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;label="                                                                                    US $"&lt;/STRONG&gt;&lt;/FONT&gt;						
		grid                      
		offsetmax= 0.05;
	yaxis labelpos=top;
	keylegend / location=inside 			
		position= bottomright 
		down=3 								
		outerpad=(right=22 bottom=15);
run
;&lt;/PRE&gt;</description>
      <pubDate>Sat, 12 Nov 2022 09:55:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843907#M23299</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-12T09:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Fine adjusting position of xaxis label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843909#M23300</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1668247121428.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77233i2B48C04CFB7C2E17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1668247121428.png" alt="Ksharp_0-1668247121428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 09:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843909#M23300</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-12T09:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fine adjusting position of xaxis label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843911#M23301</link>
      <description>&lt;P&gt;Interesting.&lt;/P&gt;
&lt;P&gt;Padding white blanks has no effect to the generated picture "Supportcommunity.png".&lt;/P&gt;
&lt;P&gt;But if you are using TAB characters instead of white blanks,then you could get job done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods listing 
	image_dpi 	  = 300                                              
	gpath		  = "C:\Temp"
	style 		  = styles.listing
;
ods graphics on /                       
	reset     = all
	outputfmt = png                       
	imagename = "Supportcommunity"    		
	scale     = on                        
	height    = 15cm                       
	width     = 12cm                      
;
title "Car sales sum of invoice";
proc sgplot 
	data= sashelp.cars;
	hbar type													
		/ 
		group= origin 									
		groupdisplay= cluster 					
		response= Invoice;
	xaxis valuesformat=COMMA12.0 	  
		label="															US $"						
		grid                      
		offsetmax= 0.05;
	yaxis labelpos=top;
	keylegend / location=inside 			
		position= bottomright 
		down=3 								
		outerpad=(right=22 bottom=15);
run
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1668247631644.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77234i2843FDB989E475ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1668247631644.png" alt="Ksharp_0-1668247631644.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 10:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843911#M23301</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-12T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fine adjusting position of xaxis label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843913#M23302</link>
      <description>And Don't forget remove " labelpos= right " .</description>
      <pubDate>Sat, 12 Nov 2022 10:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843913#M23302</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-11-12T10:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fine adjusting position of xaxis label</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843931#M23303</link>
      <description>Thanks a lot, Ksharp! You impressed me again!</description>
      <pubDate>Sat, 12 Nov 2022 15:52:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fine-adjusting-position-of-xaxis-label/m-p/843931#M23303</guid>
      <dc:creator>Multipla99</dc:creator>
      <dc:date>2022-11-12T15:52:39Z</dc:date>
    </item>
  </channel>
</rss>

