<?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: GCHART graphics area for Horizontal bar charts changes based upon legend location - not sure why in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/582084#M18708</link>
    <description>&lt;P&gt;Thank you.&amp;nbsp; I will work with this example as I fold my original data and formatting back in. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that you switched the font to Albany AMT, a monotype (fixed) font,&amp;nbsp; where each character has the same spacing.&amp;nbsp; The Calibri font we use is proportional and I get warnings from SAS noting that this may be an issue.&amp;nbsp; It usually is, but that is the corporate standard font that is required. &amp;nbsp; I suspect that may be the issue behind many of my spacing issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will play with this answer and try changing bits of it one by one to see the differences between your solution and mine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again, thanks for the help and quick reply. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 11:54:12 GMT</pubDate>
    <dc:creator>qaguy1982</dc:creator>
    <dc:date>2019-08-19T11:54:12Z</dc:date>
    <item>
      <title>GCHART graphics area for Horizontal bar charts changes based upon legend location - not sure why</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/581416#M18696</link>
      <description>&lt;P&gt;I have a very specific set of requirements by my customer.&lt;/P&gt;&lt;P&gt;We are comparing customer usage patterns against a benchmark set of data.&lt;/P&gt;&lt;P&gt;They require two different colored bars for each service type.&lt;/P&gt;&lt;P&gt;They want the percentage usage printed at the end of each bar.&amp;nbsp; I have used annotation files to add text and commentary to each pair of bars.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two issues:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The customer wants the legend to be off to the right.&amp;nbsp; This is legend1 in my example.&amp;nbsp; position=(top right outside)&lt;/P&gt;&lt;P&gt;When I use legend1 in my gchart procedure, the graph is destroyed.&lt;/P&gt;&lt;P&gt;However, if I use legend2, position= (top center outside) the legend starts too far to the right for my customer's taste.&lt;/P&gt;&lt;P&gt;I have added a label of blank spaces&amp;nbsp; '20'x to the legend to force the centered legend to display more toward the right, but I would like to know why the legend position is changing the available graph data space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second issue is that I can't seem to place the percentage value at the end of the bar.&amp;nbsp; The examples I have found make it look like I just have to add the percentage (length of the bar) to the start location and the print location will be just past the end of the bar.&amp;nbsp; I found that that is not working and the printed location ends up in the middle of the bar.&amp;nbsp; I have kludged the annotation command to multiply the percentage amount and adding a pad of additional fixed spaces.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Possibly some of the issues are due to using a proportional font (Calibri) which is our corporate standard instead of a fixed font.&lt;/P&gt;&lt;P&gt;But if there is an explanation, or if this group can recommend some solutions, I would be grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching sample code that demonstrates the issue.&amp;nbsp; And examples of the resulting graphs based upon the legend selected.&lt;/P&gt;&lt;P&gt;The sample code should run standalone as I build the data in the example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* *****************************************************************/
/* Slide   presentation Member Utilization vs Benchmark BarChart  */
/* *****************************************************************/
ods html close; 

data sample_slide_usage;
infile datalines delimiter= ',';
input
usage_text  : $60.   	source	: $45.   my_order  : $40.	GROUP_NUMBER : $10.  
COUNT    PERCENT  	comment_text : $80.  Service_Type1   Service_Type2  	Service_Type3  ;
datalines ;
Service Type 1 has a long description,Benchmark,1-Service Type 1,BENCH,3334399,31.468822649, members had this type of service,1,0,0
Service Type 1 has a long description,Your Members' Utilization,1-Service Type 1,0009999,3506,32.705223881, members had this type of service,1,0,0
Service Type 2 medium,Benchmark,2-Service Type 2,BENCH,193769,1.828720047, members had this type of service,0,1,0
Service Type 2 medium,Your Members' Utilization,2-Service Type 2,0009999,247,2.3041044776, members had this type of service,0,1,0
Service Type 3 medium,Benchmark,3-Service Type 3,BENCH,3150839,29.736451363, members had this type of service,0,0,1
Service Type 3 medium,Your Members' Utilization,3-Service Type 3,0009999,3598,33.563432836, members had this type of service,0,0,1
Type 4 short,Benchmark,4-Service Type 4,BENCH,3916874,36.966005941, members had this type of service,0,0,0
Type 4 short,Your Members' Utilization,4-Service Type 4,0009999,3369,31.427238806, members had this type of service,0,0,0
;
run;

data pages;
page_count=0;
call symputx('pageno',page_count);
run;
/* macro to update page numbers before printing */
%macro print_page_no;
/* update page number */
data pages;
set pages;
page_count+1;
call symputx('pageno',page_count);
run;
/* print a page number in the middle of the green bar on the page */
ods region  x=5.5in y=7.75in ;  /* page number */
ods pdf text= "^S={font_weight=bold color=white background=A43b02aFF  font_size=11pt} &amp;amp;pageno" ;
%mend;


%let pdfile = 'C:\Data\testgraph.pdf';

ODS PDF FILE="&amp;amp;pdfile." 
/*style=styles.Wellness_Slide4 */
nogfootnote startpage=yes;

/* Title has a different color background */

/* add a page title */
ods layout absolute   ;
ods region  x=0.95in y=0.70in   ; /* page title */
/*goptions transparency;*/
goptions reset=all border noaltdesc ;
data slide4;
length slide4text $ 2000.;
slide4text=catx(" ","^S={font_weight=medium foreground=white background=A43b02aFF font_size=28pt}Member Utilization at a Glance ",
				" ");
call symputx("slide4text",slide4text);
run;

proc report data=slide4 nowindows noheader;
columns slide4text;
define slide4text / style(column)=[bordertopcolor=A43b02aFF borderleftcolor=A43b02aFF  borderrightcolor=A43b02aFF borderbottomcolor=A43b02aFF];
run;

/* Set the graphics environment */                                                                                                      
goptions reset=all noborder vsize=4.5in hsize= 8in
/* Set colors */
cback=white colors=( A43b02aFF black ) htext=12pt htitle=12pt
/* space between bars - in graph definition */
/* set font */
ftext='Calibri/bold'
fontres=PRESENTATION 
noaltdesc 
;                                                                           
ods region  x=0.95in y=2.0in   ; /* New Chart */

/* Data is all collected slide4_usage- Generate chart */
/* %annomac;*/
/* %helpano(all);*/
                                                                                      
/* annotate commands to add text to left of bar and number value to end of bar */
/* also like to add a text line between the bars */
         
data annobars;  /* just get something on the page */
length function color $10 text $50 client_count $ 10 ;
retain function 'label' xsys '4' ysys hsys '3' when 'A' x xtitle 45  yadjust 2.0   ytitle 82.5 y0 y1 size 4 client_count;
/*set sample_slide_usage;*/
set sample_slide_usage;
/*xtitle=25;*/
/* main title */
if _n_ = 1 then do;
	ytitle=82.5;
end;
/* for each line get the percentage number */
function= 'label';
color = 'Black';
style='Calibri/bold';
group= my_order;
/* allow for text descriptions ??? */
/*midpoint=usage_text;*/
y0= ytitle+yadjust ;
y1= ytitle-yadjust-2.5;
/* size of text - yes! but compared to what? */
size=4;
/* every other line starting with the benchmark data */
if (mod(_n_,2) = 1) then do;  
	/* write first percentage benchmark */
	y=y0;
	midpoint=source;   
	x=xtitle+(percent*1.8) + 3   ;
	if (percent &amp;lt; 15) then x=x+3;
	text = '20'x||put(percent, comma7.2) || '%' ;
	color='Black';
	position = '6';  /* &amp;lt; */
	output;
	/* write title - try to center on all bars in series   */
	y= ytitle;
	x = xtitle;
	text = usage_text;
	midpoint=usage_text;
	color='black';
	/*	midpoint=midvar;*/
	position= '4';
	output;
end;
/* print client percentage just a bit below but horizontal position */
else if (mod(_n_,2) = 0) then do;
	y=y1;
	x=xtitle+(percent*1.8) + 3   ;
	if (percent &amp;lt; 15) then x=x+3;
	text = '20'x||put(percent, comma7.2) || '%' ;
	midpoint=source;  /* cfr */
	color='Black';
	/* add strip after put to remove leading and trailing spaces */
	client_count = strip(put(count, comma8.0) )  ;
	position = '6'; /* &amp;lt; */
	output;

	/* add custom text for the comment field */
	/* add the count for the client   */
	color='A43b02aFF';
	style=('Calibri/bold');
	/* move down to the comment location */
	y= y-(8);
	x= xtitle+7;
	/* format the client count with commas */
	text = client_count   ;
	/* position = 0 means stop hear and wait for more date to continue line */
	position='0';
	output;

/* add text to a comment line */
	color='black';
	style=('Calibri');
	text = " " || comment_text;
	/* pause the text to get client count for this attribute and print the number at end of the prior line */
	x=.;
/*	position='0';*/
	output;

	ytitle= ytitle-22.0;
end; 
run;


/* Specify axis characteristics */                                                                                                           
axis1  label=none   ;                                                                                                       
axis2  label=none  ;    
axis3  label=none; 
                                                                                                                                        
/* Add a title to the graph */                                                                                                          
/*title1 'Member Utilization at a Glance';   */
title1 ;  /* turn off title as it is on the page already */ 
/* Define the legend options */     
;  
/* SET UP LEGEND ON RIGHT SIDE - LIMITS LENGTH OF BARS - WHY?  */
legend1 noframe 
/* set the legend on the page */
/*position=( top center outside)*/
position=( top right outside)

/* make the legend a small box */
shape=bar(.1in,.1in)                                                                                                                                           
/* remove legend label */
label=none
/* following two options used to set legend position - commented out until I figure out how they work*/
/*mode=protect*/
/*origin=(50,90)*/
/*(font = 'Calibri/bold')*/
/* set the order of bars for the legend  we want the benchmark on top */
order=(  "Benchmark"  "Your Members' Utilization"     )
 ;
/* SET UP ALTERNATE LEGEND WITH CENTER OPTION - BARS ARE A REASONABLE LENGTH */ 
legend2   noframe 
/* set the legend on the page */
/*position=( top center outside)*/
position=( top center outside)
/*cborder = 'black'*/
/* make the legend a small box */
shape=bar(.1in,.1in)                                                                                                                                           
/* remove legend label */
/*label=('20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x'20'x )*/
label=none
/* following two options used to set legend position - commented out until I figure out how they work*/
/*mode=protect*/
/*origin=(50,90)*/
/*(font = 'Calibri/bold')*/
/* set the order of bars for the legend  we want the benchmark on top */
order=(  "Benchmark"  "Your Members' Utilization"     )
 ;                                                                                                                                          

 
/* Create the graph */     
/* move legend to the top of graph */
 
/*ods html;*/

proc gchart data=sample_slide_usage ;   
hbar  source  /  
noframe
/* move legend to the top of graph  - NO LEGEND -manually created in annotations */ 
legend=legend2 
/* remove outline around bars */
coutline=same
/* remove space between bars */
space=0 
gspace=4  
/* group by order or usage_text - trying to move bars over for more space for text - looking for start optiion in graphics space */ 
group=   my_order
subgroup=source
/* remove column labels */
type=sum
sumvar=percent
/*sumlabel='Percentage'*/
/* sort bars in order specified */
midpoints= "Benchmark"  "Your Members' Utilization"
/*maxis=axis1*/
raxis=axis1  
/*gaxis=axis1*/

/* allow axis while debugging then turn it off for final */
noaxis
nostats           
/*annnotate=none*/
annotate=annobars
;                                                                                      
run;                                                                                                                                    
quit; 


%print_page_no;

ods layout end;
ods pdf startpage=now;  /* this closes current page and moves to the next page which can have a different background */
run;
/* close PDF document  */
ODS PDF CLOSE; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen a lot of comments for others that say to "change to Sgplot"&amp;nbsp; but all the examples of SGPLOT seem to be use ODS GRAPHICS rather than ODS PDF and I don't see how to put the resulting graph on my PDF.&amp;nbsp; Probably simple to fix but I don't know how to change my charts from GCHART to SGPLOT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 14:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/581416#M18696</guid>
      <dc:creator>qaguy1982</dc:creator>
      <dc:date>2019-08-15T14:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: GCHART graphics area for Horizontal bar charts changes based upon legend location - not sure why</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/581444#M18697</link>
      <description>&lt;P&gt;To place any sgraphics output you put the procedure code in the place you want between ODS PDF and ODS PDF close statement. Inside a layout block if you are using those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you by any chance consider MODE=SHARE with the legend?&lt;/P&gt;
&lt;P&gt;No data so I can't test your code but if you use the default, which is PRESERVE then you get the documented behavior:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;RESERVE&lt;/P&gt;
&lt;DIV class="xis-argDescriptionPair" id="n1i95zaordjz3dn1w8vj0rjp8og9"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;&lt;STRONG&gt;takes space for the legend from the procedure output area&lt;/STRONG&gt;, thereby reducing the amount of space available for the graph. If&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&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>Thu, 15 Aug 2019 15:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/581444#M18697</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-08-15T15:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: GCHART graphics area for Horizontal bar charts changes based upon legend location - not sure why</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/581533#M18701</link>
      <description>&lt;P&gt;I've trimmed out the pdf stuff (just outputting to png for now), and a few other things, and tried to simplify it down to the essence of the bar chart you want. In particular, I'm using mode=share in combination with offset= for the legend placement. I also pre-pend 'a0'x blanks and '\' and then use split='\' on the group axis to get it re-positioned a little lower (more centered) so you don't have to annotate it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully this will make a good starting point for you!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;%let name=testpng;&lt;/P&gt;
&lt;P&gt;filename odsout '.';&lt;/P&gt;
&lt;P&gt;data sample_slide_usage;&lt;BR /&gt;infile datalines delimiter= ',';&lt;BR /&gt;input&lt;BR /&gt;usage_text : $60. source : $45. my_order : $40. GROUP_NUMBER : $10.&lt;BR /&gt;COUNT PERCENT comment_text : $80. Service_Type1 Service_Type2 Service_Type3 ;&lt;BR /&gt;/* insert some blanks and '\', to use as the 'split' character in the axis */&lt;BR /&gt;usage_text='a0'x||'\'||'a0'x||'\'||trim(left(usage_text));&lt;BR /&gt;datalines ;&lt;BR /&gt;Service Type 1 has a long description,Benchmark,1-Service Type 1,BENCH,3334399,31.468822649, members had this type of service,1,0,0&lt;BR /&gt;Service Type 1 has a long description,Your Members' Utilization,1-Service Type 1,0009999,3506,32.705223881, members had this type of service,1,0,0&lt;BR /&gt;Service Type 2 medium,Benchmark,2-Service Type 2,BENCH,193769,1.828720047, members had this type of service,0,1,0&lt;BR /&gt;Service Type 2 medium,Your Members' Utilization,2-Service Type 2,0009999,247,2.3041044776, members had this type of service,0,1,0&lt;BR /&gt;Service Type 3 medium,Benchmark,3-Service Type 3,BENCH,3150839,29.736451363, members had this type of service,0,0,1&lt;BR /&gt;Service Type 3 medium,Your Members' Utilization,3-Service Type 3,0009999,3598,33.563432836, members had this type of service,0,0,1&lt;BR /&gt;Type 4 short,Benchmark,4-Service Type 4,BENCH,3916874,36.966005941, members had this type of service,0,0,0&lt;BR /&gt;Type 4 short,Your Members' Utilization,4-Service Type 4,0009999,3369,31.427238806, members had this type of service,0,0,0&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc sort data=sample_slide_usage out=sample_slide_usage;&lt;BR /&gt;by my_order source;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data my_anno; set sample_slide_usage;&lt;BR /&gt;length function $8 text $100;&lt;BR /&gt;xsys='2'; ysys='2';&lt;BR /&gt;hsys='3'; when='a';&lt;BR /&gt;function='label'; color='gray33';&lt;/P&gt;
&lt;P&gt;/* Annotate the values at the ends of the bars */&lt;BR /&gt;group=usage_text;&lt;BR /&gt;yc=source;&lt;BR /&gt;x=PERCENT;&lt;BR /&gt;function='label'; position='&amp;gt;';&lt;BR /&gt;text='a0'x||put(percent/100,percent7.2);&lt;BR /&gt;output;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* Annotate count &amp;amp; comment below each group of bars */&lt;BR /&gt;if (mod(_n_,2) = 0) then do;&lt;BR /&gt;xsys='2'; ysys='2';&lt;BR /&gt;group=usage_text;&lt;BR /&gt;yc=source;&lt;BR /&gt;y=.;&lt;BR /&gt;x=PERCENT;&lt;BR /&gt;function='move'; output;&lt;BR /&gt;xsys='1';&lt;BR /&gt;x=1;&lt;BR /&gt;function='move'; output;&lt;BR /&gt;ysys='7';&lt;BR /&gt;y=-7;&lt;BR /&gt;function='move'; output;&lt;BR /&gt;function='label'; position='&amp;gt;';&lt;BR /&gt;text=trim(left(put(count, comma7.0)))||' '||trim(left(comment_text));&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;goptons device=png xpixels=800 ypixels=500;&lt;BR /&gt;goptions gunit=pct htext=9pt;&lt;/P&gt;
&lt;P&gt;ODS LISTING CLOSE;&lt;BR /&gt;ODS HTML path=odsout body="&amp;amp;name..htm" style=htmlblue;&lt;/P&gt;
&lt;P&gt;axis1 label=none value=none;&lt;BR /&gt;axis2 label=none value=(justify=right font='albany amt/bold' h=12pt) split='\' offset=(3,2);&lt;BR /&gt;axis3 label=none value=none major=none minor=none style=0 offset=(0,5);&lt;/P&gt;
&lt;P&gt;legend1 label=none noframe across=1 position=(top right outside) mode=share&lt;BR /&gt;shape=bar(.1in,.1in) offset=(-5,8);&lt;/P&gt;
&lt;P&gt;pattern1 v=s c=cx48af35;&lt;BR /&gt;pattern2 v=s c=gray33;&lt;/P&gt;
&lt;P&gt;title1 h=16pt font='albany amt/bold' ls=1.5&lt;BR /&gt;box=1 bcolor=cx48af35 color=white 'Member Utilization at a Glance';&lt;/P&gt;
&lt;P&gt;proc gchart data=sample_slide_usage anno=my_anno;&lt;BR /&gt;hbar source / type=sum sumvar=percent nostats&lt;BR /&gt;midpoints= "Benchmark" "Your Members' Utilization"&lt;BR /&gt;maxis=axis1 gaxis=axis2 raxis=axis3 noframe&lt;BR /&gt;space=0 gspace=4 group=usage_text&lt;BR /&gt;legend=legend1 coutline=same subgroup=source&lt;BR /&gt;des='' name="&amp;amp;name";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;quit;&lt;BR /&gt;ODS HTML CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&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="testpng.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31780i846FFDAB50A0A9BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="testpng.png" alt="testpng.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 17:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/581533#M18701</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2019-08-15T17:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: GCHART graphics area for Horizontal bar charts changes based upon legend location - not sure why</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/582079#M18707</link>
      <description>&lt;P&gt;I had included data needed to replicate the issue in the question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate confirmation that I can still place SGPLOT graphics within ODS PDF commands and that it will work the same as GCHART.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had tried some MODE commands but my experience was that it cut space out of the graphic which would be unacceptable to my client.&amp;nbsp; I will keep this in mind for future reference.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/582079#M18707</guid>
      <dc:creator>qaguy1982</dc:creator>
      <dc:date>2019-08-19T11:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: GCHART graphics area for Horizontal bar charts changes based upon legend location - not sure why</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/582084#M18708</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I will work with this example as I fold my original data and formatting back in. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that you switched the font to Albany AMT, a monotype (fixed) font,&amp;nbsp; where each character has the same spacing.&amp;nbsp; The Calibri font we use is proportional and I get warnings from SAS noting that this may be an issue.&amp;nbsp; It usually is, but that is the corporate standard font that is required. &amp;nbsp; I suspect that may be the issue behind many of my spacing issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will play with this answer and try changing bits of it one by one to see the differences between your solution and mine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once again, thanks for the help and quick reply. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GCHART-graphics-area-for-Horizontal-bar-charts-changes-based/m-p/582084#M18708</guid>
      <dc:creator>qaguy1982</dc:creator>
      <dc:date>2019-08-19T11:54:12Z</dc:date>
    </item>
  </channel>
</rss>

