<?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: SGPlot annotation on a grouped VBAR plot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738855#M21485</link>
    <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;Thanks for this example. It's interesting to see how the discreteoffset works and I'll remember this for future reference.&lt;/P&gt;&lt;P&gt;The main problem I have with this is that each group (HRD and NONHRD) has a different number of bars and the number of bars can change for each group each time the program is run so then I have to re-calculate the exact position of the centre of each bar as the number of bars change.&lt;/P&gt;&lt;P&gt;Whilst this is easily done with macro vars to determine the number of bars it would still take trial and error to figure out the exact offset to use each time.&lt;/P&gt;&lt;P&gt;However it's good to know this approach is possible so I'll keep this in mind.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 11:24:00 GMT</pubDate>
    <dc:creator>Chris_Gibby</dc:creator>
    <dc:date>2021-05-04T11:24:00Z</dc:date>
    <item>
      <title>SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738126#M21480</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some trouble displaying annotated data on a grouped VBAR. Example code below.&lt;/P&gt;&lt;P&gt;I want to display an 'x' at the bottom of each Bar, i.e. the position of the 'x' is tied to the data value of each bar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I run I get the following Warning and the 'x' is not displayed on the output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; WARNING: DrawText statement has missing/invalid value for position (X or Y). Draw statement discarded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data data1;
 length genx genid $ 10;
  genx = 'GRP1';
  genid = 'HRD1'; d1=15; output;
  genid = 'HRD2'; d1=23; output;
  genid = 'HRD3'; d1=5; output;
  genid = 'HRD4'; d1=35; output;
  genx = 'GRP2';
  genid = 'NONHRD1'; d1=43; output;
  genid = 'NONHRD2'; d1=28; output;
  genid = 'NONHRD3'; d1=26; output;
  genid = 'NONHRD4'; d1=9; output;
run;

data anno_ds;
 set data1;
   function = 'text';
   x1space = 'datavalue';
   y1space = 'layoutpercent';
   textsize = 6;
   textweight = 'normal';
   width = 20;
   widthunit = 'percent';
   anchor = 'center';
   xc1 = genid;
   y1 = -1;
   label = 'x';
run;

  ods graphics on / reset height=6.8in width=8.5in imagename='test' noborder;
  
  proc sgplot data=data1 noautolegend sganno=anno_ds  pad=(bottom=10pct);
   vbar genx / group=genid response=d1 groupdisplay=cluster 
              dataskin=pressed ;
              
   xaxis label='Grouped data' display=(noticks) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   yaxis label='Score (%)' values=(0 to 100 by 10) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
  run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris_Gibby_0-1619778662704.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58886i6A5C838EE7BD2854/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris_Gibby_0-1619778662704.png" alt="Chris_Gibby_0-1619778662704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for looking,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 10:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738126#M21480</guid>
      <dc:creator>Chris_Gibby</dc:creator>
      <dc:date>2021-04-30T10:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738173#M21481</link>
      <description>&lt;P&gt;I think the issue is that the xc1 values are based on the genid group variable but the x-axis is determined by the genx variable, so the procedure is expecting xc1 to be wither 'GRP1' or 'GRP2'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might try some of the approaches described in this blogs post&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2016/04/08/displaying-group-values-on-axis/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2016/04/08/displaying-group-values-on-axis/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the code you provided (which was great by the way) and looking at that post the following code might be close to what you have in mind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data data1;
 length genx genid $ 10;
  genx = 'GRP1';
  genid = 'HRD1'; d1=15;  output;
  genid = 'HRD2'; d1=23;  output;
  genid = 'HRD3'; d1=5; output;
  genid = 'HRD4'; d1=35;  output;
  genx = 'GRP2';
  genid = 'NONHRD1'; d1=43;  output;
  genid = 'NONHRD2'; d1=28;  output;
  genid = 'NONHRD3'; d1=26; output;
  genid = 'NONHRD4'; d1=9; output;
run;

data data1;
  set data1;
  mark = 'x';
  ylbl = 1;
run;
&lt;BR /&gt;ods graphics on / reset height=6.8in width=8.5in imagename='test' noborder;
proc sgplot data=data1 noautolegend   pad=(bottom=10pct);
   vbarparm category=genx  response=d1/ group=genid groupdisplay=cluster 
            dataskin=pressed ;
   text x=genx y=ylbl text=mark/ group=genid groupdisplay=cluster  
          textattrs=(color=black size=7)  contributeoffsets=none;               
   xaxis label='Grouped data' display=(noticks) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   yaxis label='Score (%)' values=(0 to 100 by 10) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.png" style="width: 438px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58898i25FBB33D6BB29A1B/image-dimensions/438x351?v=v2" width="438" height="351" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note the switch from using a VBAR to VBARPARM so it can be layered with the TEXT plot. A more involved approach might be to keep using the annotation data set but set the x1 position based on some percentage value. Not sure if others might have some other better suggestions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 15:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738173#M21481</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2021-04-30T15:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738186#M21482</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;Yes that will work. Unfortunately there is a specific reason I'm using VBAR which is I also have a VLINE statement in my SGPLOT, which I had left out for convenience to explain the issue.&lt;/P&gt;&lt;P&gt;Is there also an equivalent of VBARPARM for VLINE so that I can still overlay the text as in your example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data data1;
 length genx genid $ 10;
  genx = 'GRP1';
  genid = 'HRD1'; d1=15; d2=28; output;
  genid = 'HRD2'; d1=23; d2=18; output;
  genid = 'HRD3'; d1=5; d2=20; output;
  genid = 'HRD4'; d1=35; d2=43; output;
  genx = 'GRP2';
  genid = 'NONHRD1'; d1=43; d2=56; output;
  genid = 'NONHRD2'; d1=28; d2=33; output;
  genid = 'NONHRD3'; d1=26; d2=28; output;
  genid = 'NONHRD4'; d1=9; d2=18; output;
run;


  ods graphics on / reset height=6.8in width=8.5in imagename='test' noborder;
  
  proc sgplot data=data1 noautolegend sganno=anno_ds  pad=(bottom=10pct);
   vbar genx / group=genid response=d1 groupdisplay=cluster 
             dataskin=pressed ;
             
   vline genx / group=genid response=d2 groupdisplay=cluster 
              dataskin=pressed markerattrs=(symbol=trianglefilled size=8 color=red) lineattrs=(pattern=solid thickness=10);
              
   xaxis label='Grouped data' display=(noticks) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   yaxis label='Score (%)' values=(0 to 100 by 10) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
  run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris_Gibby_0-1619797659908.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58900iF9094D2886A8DE5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris_Gibby_0-1619797659908.png" alt="Chris_Gibby_0-1619797659908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 15:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738186#M21482</guid>
      <dc:creator>Chris_Gibby</dc:creator>
      <dc:date>2021-04-30T15:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738227#M21483</link>
      <description>&lt;P&gt;I suggest to specify a CLUSTERWIDTH= in your VBAR statement then you can use the DISCRETEOFFSET variable in the annotate dataset to shift the value according to the number of bars you have. This should also work together with VLINE as long as you also specify the clusterwidth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See example code for an illustration of the concept&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data data1;
 length genx genid $ 10;
  genx = 'GRP1';
  genid = 'HRD1'; d1=15;  output;
  genid = 'HRD2'; d1=23;  output;
  genid = 'HRD3'; d1=5; output;
  genid = 'HRD4'; d1=35;  output;
  genx = 'GRP2';
  genid = 'NONHRD1'; d1=43;  output;
  genid = 'NONHRD2'; d1=28;  output;
  genid = 'NONHRD3'; d1=26; output;
  genid = 'NONHRD4'; d1=9; output;
  genx = 'GRP3';
  genid = 'NONHRD1'; d1=43;  output;
  genid = 'NONHRD2'; d1=28;  output;
  genid = 'NONHRD3'; d1=26; output;
  genid = 'NONHRD4'; d1=9; output;

run;

data anno_ds;
  set data1;
  by genx;

  if first.genx then do;
    function = 'text';
    x1space = 'datavalue';
    y1space = 'wallpercent';
    textsize = 10;
    textweight = 'normal';
    width = 20;
    widthunit = 'percent';
    anchor = 'center';
    xc1 = genx;
    y1 = 75;

    do myoffset =   -0.4 to 0.4 by 0.1;
      discreteoffset = round(myoffset, 0.1);
      label = cats(discreteoffset);
      output;
    end;

    function = "line";
    x1space = 'datavalue';
    x2space = 'datavalue';
    y1space = 'wallpercent';
    y2space = 'wallpercent';
    xc1=genx;
    xc2=genx;
    y1=0;
    y2=75;

    do myoffset =   -0.4 to 0.4 by 0.1;
      discreteoffset = round(myoffset, 0.1);
      label = cats(discreteoffset);
      output;
    end;
  end;
run;

ods graphics on / reset height=6.8in width=8.5in imagename='test' noborder;

proc sgplot data=data1  sganno=anno_ds  pad=(bottom=10pct);
  * where genid like '%2%' or genid like '%1%';
  vbar genx / group=genid response=d1 groupdisplay=cluster barwidth=1 clusterwidth=0.8;
run;

proc sgplot data=data1  sganno=anno_ds  pad=(bottom=10pct);
  where genid like '%2%' or genid like '%1%';
  vbar genx / group=genid response=d1 groupdisplay=cluster barwidth=1 clusterwidth=0.8;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;V&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 17:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738227#M21483</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2021-04-30T17:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738242#M21484</link>
      <description>&lt;P&gt;You could use a SERIES plot, or you could also recreate the type of figure you attached using a SCATTER plot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data data1;
 length genx genid $ 10;
  genx = 'GRP1';
  genid = 'HRD1'; d1=15; d2=28; output;
  genid = 'HRD2'; d1=23; d2=18; output;
  genid = 'HRD3'; d1=5; d2=20; output;
  genid = 'HRD4'; d1=35; d2=43; output;
  genx = 'GRP2';
  genid = 'NONHRD1'; d1=43; d2=56; output;
  genid = 'NONHRD2'; d1=28; d2=33; output;
  genid = 'NONHRD3'; d1=26; d2=28; output;
  genid = 'NONHRD4'; d1=9; d2=18; output;
run;
data data1;
  set data1;
  mark = 'x';
  ylbl = -1;
run;
ods graphics on / reset height=6.8in width=8.5in imagename='test' noborder;


proc sgplot data=data1 noautolegend   pad=(bottom=10pct);
   vbarparm category=genx  response=d1/ group=genid groupdisplay=cluster 
            dataskin=pressed ;
   scatter x=genx y=d2 / group=genid groupdisplay=cluster  dataskin=pressed
          markerattrs=(symbol=squarefilled size=8 ) ;
   text x=genx y=ylbl text=mark/ group=genid groupdisplay=cluster  
          textattrs=(color=black size=7)  contributeoffsets=none;               
   xaxis label='Grouped data' display=(noticks) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   yaxis label='Score (%)' values=(0 to 100 by 10) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   title "Scatter Plot Added";&lt;BR /&gt;run;

proc sgplot data=data1 noautolegend   pad=(bottom=10pct);
   vbarparm category=genx  response=d1/ group=genid groupdisplay=cluster 
            dataskin=pressed ;
   series x=genx y=d2 / group=genid groupdisplay=cluster  dataskin=pressed
          lineattrs=(pattern=solid thickness=10); ;
   text x=genx y=ylbl text=mark/ group=genid groupdisplay=cluster  
          textattrs=(color=black size=7)  contributeoffsets=none;               
   xaxis label='Grouped data' display=(noticks) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   yaxis label='Score (%)' values=(0 to 100 by 10) valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);
   title "Series Plot Added";&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58908i309AE90815D0EC6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58910i3AD25FF3AAC83677/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test1.png" alt="test1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 18:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738242#M21484</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2021-04-30T18:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738855#M21485</link>
      <description>&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;Thanks for this example. It's interesting to see how the discreteoffset works and I'll remember this for future reference.&lt;/P&gt;&lt;P&gt;The main problem I have with this is that each group (HRD and NONHRD) has a different number of bars and the number of bars can change for each group each time the program is run so then I have to re-calculate the exact position of the centre of each bar as the number of bars change.&lt;/P&gt;&lt;P&gt;Whilst this is easily done with macro vars to determine the number of bars it would still take trial and error to figure out the exact offset to use each time.&lt;/P&gt;&lt;P&gt;However it's good to know this approach is possible so I'll keep this in mind.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 11:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738855#M21485</guid>
      <dc:creator>Chris_Gibby</dc:creator>
      <dc:date>2021-05-04T11:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738858#M21486</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Thank you for this - it works very well for what I need. It's a case of getting used the different statements available within SGPLOT and how they compliment each other.&lt;/P&gt;&lt;P&gt;Out of interest is there a way to increase the space between the x-axis 0 line and the line at the bottom of the plot (where I have drawn the green line in the below image). Apologies I know this is a separate question - happy to submit it as new if required.&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="Chris_Gibby_0-1620127702994.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59001i5830F0CD24B822D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris_Gibby_0-1620127702994.png" alt="Chris_Gibby_0-1620127702994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 11:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738858#M21486</guid>
      <dc:creator>Chris_Gibby</dc:creator>
      <dc:date>2021-05-04T11:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738909#M21487</link>
      <description>&lt;P&gt;Glad to help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can adjust the axis range by using the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n0n6uml63c6h8dn16phbd1arm9g9.htm#n1k8wm6blirqqen1nr7ajys73wp9c" target="_self"&gt;RANGES=&lt;/A&gt; option in the YAXIS statement, so something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; yaxis label='Score (%)' values=(0 to 100 by 10) ranges=(-2-100) 
       valueattrs=(size=7 family=Arial weight=bold) labelattrs=(size=7 family=Arial weight=bold);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_011/grstatproc/p0yud64khw8fuin1xgr85dgxbb7t.htm" target="_self"&gt;Plot Type Compatibility&lt;/A&gt;" section in the ODS Graphics documentation is a nice quick reference for information what type of plots can and cannot be overlaid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 14:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738909#M21487</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2021-05-04T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: SGPlot annotation on a grouped VBAR plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738992#M21488</link>
      <description>&lt;P&gt;This is a good use case for the AXISTABLE statement.&amp;nbsp; Available both in GTL and SGPLOT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2016/07/17/graph-table-with-class/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2016/07/17/graph-table-with-class/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 17:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SGPlot-annotation-on-a-grouped-VBAR-plot/m-p/738992#M21488</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2021-05-04T17:39:27Z</dc:date>
    </item>
  </channel>
</rss>

