<?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: how to plot horizontal bar chart with annotation ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890538#M351900</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards expandtabs truncover;
input Sor :$20.	scrndosn	hardosn	encdosn	(group2	chall label) (:$20.);
labelposition=max(scrndosn,	hardosn	,encdosn);
cards;
101/HDM	30	100	300	HDM	cake
102/LDM	3	300	10	LDM	cupcake  *
102/LDM	600	2000	2000	LDM	cake  *
102/LDM	1000	4000	1000	LDM	soda *
103/PDM	600	2000	4000	PDM	soda
103/PLM	100	100	100	PLM	cake  *
104/PDM	100	100	1000	PDM	water *
;

proc format;
picture fmt
low-high='00009mg';
run;
ods graphics /width=10in height=6in;
proc sgpanel data=have nocycleattrs noautolegend ;
panelby group2/layout=rowlattice  novarname onepanel proportional uniscale=column NOHEADERBORDER HEADERBACKCOLOR=white;
hbarparm category=Sor response=encdosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=l1) baseline=1  ;
hbarparm category=Sor response=hardosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=r1) baseline=1;
hbarparm category=Sor response=scrndosn/group=chall groupdisplay=cluster baseline=1;
text x=labelposition y=Sor text=label/group=chall groupdisplay=cluster  strip contributeoffsets=none 
 position=right textattrs=(size=20 color=black);
rowaxis display=(nolabel) discreteorder=data;
colaxis display=(nolabel) type=log  integer valuesformat=fmt. valueshint offsetmax=0.02
 values=(1, 3, 10, 30, 100, 300, 600, 1000, 2000, 4000) ;
refline 600/axis=x ;
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-1692790372676.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86923i56B22FCDB7B6F11B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1692790372676.png" alt="Ksharp_0-1692790372676.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 11:32:28 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-08-23T11:32:28Z</dc:date>
    <item>
      <title>how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890484#M351869</link>
      <description>&lt;P&gt;sample data and plot desired is in the pic attached. I need to plot it group by variable Chall from sample data. Also need to pass a referenceline horizontally after each category of group2. I need each bar with same color as per the grouping variable but different pattern within a bar for example, solid patternuntil the value is scrndosen, linepattern until hardosen, dottedpattern until encdosn. I also need to show reference line by 600mg. I need to show all the doses as diaplayed&amp;nbsp; on x axis. I need to show * when&amp;nbsp; &amp;nbsp;encdosn is less than or equal to hardosn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 21:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890484#M351869</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-22T21:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890488#M351873</link>
      <description>No attachment.</description>
      <pubDate>Tue, 22 Aug 2023 21:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890488#M351873</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-08-22T21:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890489#M351874</link>
      <description />
      <pubDate>Tue, 22 Aug 2023 21:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890489#M351874</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-22T21:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890490#M351875</link>
      <description>I attached sample data. I am not able to attach a pic of the plot that i handdrawn</description>
      <pubDate>Tue, 22 Aug 2023 21:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890490#M351875</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-22T21:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890491#M351876</link>
      <description />
      <pubDate>Tue, 22 Aug 2023 21:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890491#M351876</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-22T21:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890492#M351877</link>
      <description>Here is the pic of what I want to get as a plot</description>
      <pubDate>Tue, 22 Aug 2023 21:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890492#M351877</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-22T21:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890493#M351878</link>
      <description>&lt;P&gt;Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when the values are picture it is even more useless. I am not going to retype values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the &amp;lt;/&amp;gt; icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or copy the values from the spread sheet, then open a text box using the &amp;lt;/&amp;gt; and paste the TEXT of the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 22:33:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890493#M351878</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-22T22:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890538#M351900</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards expandtabs truncover;
input Sor :$20.	scrndosn	hardosn	encdosn	(group2	chall label) (:$20.);
labelposition=max(scrndosn,	hardosn	,encdosn);
cards;
101/HDM	30	100	300	HDM	cake
102/LDM	3	300	10	LDM	cupcake  *
102/LDM	600	2000	2000	LDM	cake  *
102/LDM	1000	4000	1000	LDM	soda *
103/PDM	600	2000	4000	PDM	soda
103/PLM	100	100	100	PLM	cake  *
104/PDM	100	100	1000	PDM	water *
;

proc format;
picture fmt
low-high='00009mg';
run;
ods graphics /width=10in height=6in;
proc sgpanel data=have nocycleattrs noautolegend ;
panelby group2/layout=rowlattice  novarname onepanel proportional uniscale=column NOHEADERBORDER HEADERBACKCOLOR=white;
hbarparm category=Sor response=encdosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=l1) baseline=1  ;
hbarparm category=Sor response=hardosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=r1) baseline=1;
hbarparm category=Sor response=scrndosn/group=chall groupdisplay=cluster baseline=1;
text x=labelposition y=Sor text=label/group=chall groupdisplay=cluster  strip contributeoffsets=none 
 position=right textattrs=(size=20 color=black);
rowaxis display=(nolabel) discreteorder=data;
colaxis display=(nolabel) type=log  integer valuesformat=fmt. valueshint offsetmax=0.02
 values=(1, 3, 10, 30, 100, 300, 600, 1000, 2000, 4000) ;
refline 600/axis=x ;
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-1692790372676.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86923i56B22FCDB7B6F11B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1692790372676.png" alt="Ksharp_0-1692790372676.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 11:32:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890538#M351900</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-23T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890567#M351915</link>
      <description>This is working, thank you so much. there is only one problem wheni plot with my data. Because I have so many lines to represent, it is only printing 1mg. 10mg, 100mg, 1000mg. it doesnt print any other values.. that we defined here. also, might be the reason * is placed randomly on the bar rather than at the end of the bar when annotating. how do i fix that problem?</description>
      <pubDate>Wed, 23 Aug 2023 14:11:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890567#M351915</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-23T14:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890722#M351952</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*
"it is only printing 1mg. 10mg, 100mg, 1000mg. it doesnt print any other values.."
You can make graphic be wider by "width=" And also try to remove option "valueshint".
Or you could post your real data,so I can replicate your problem.

For your second question, check the following code:
Or draw your picture more clear,so I know what you need.
*/

data have;
infile cards expandtabs truncover;
input Sor :$20.	scrndosn	hardosn	encdosn	(group2	chall label) (:$20.);
cards;
101/HDM	30	100	300	HDM	cake
102/LDM	3	300	10	LDM	cupcake  *
102/LDM	600	2000	2000	LDM	cake  *
102/LDM	1000	4000	1000	LDM	soda *
103/PDM	600	2000	4000	PDM	soda
103/PLM	100	100	100	PLM	cake  *
104/PDM	100	100	1000	PDM	water *
;

proc format;
picture fmt
low-high='00009mg';
run;
ods graphics /width=10in height=6in;
proc sgpanel data=have nocycleattrs noautolegend ;
panelby group2/layout=rowlattice  novarname onepanel proportional uniscale=column NOHEADERBORDER HEADERBACKCOLOR=white;
hbarparm category=Sor response=encdosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=l1) baseline=1
 datalabel=label datalabelattrs=(size=20 color=black) ;
hbarparm category=Sor response=hardosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=r1) baseline=1
 datalabel=label datalabelattrs=(size=20 color=black);
hbarparm category=Sor response=scrndosn/group=chall groupdisplay=cluster baseline=1 datalabel=label
 datalabelattrs=(size=20 color=black);
rowaxis display=(nolabel) discreteorder=data;
colaxis display=(nolabel) type=log  integer valuesformat=fmt.  offsetmax=0.03
 values=(1, 3, 10, 30, 100, 300, 600, 1000, 2000, 4000) ;
refline 600/axis=x ;
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-1692877345111.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86992i44BB195FD1547F33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1692877345111.png" alt="Ksharp_0-1692877345111.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 11:42:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890722#M351952</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-24T11:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890729#M351956</link>
      <description>i did use width =2000px and remove valueshint option but no change.</description>
      <pubDate>Thu, 24 Aug 2023 11:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890729#M351956</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-24T11:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890731#M351957</link>
      <description>Post your real data,so I can replicate your problem.&lt;BR /&gt;&lt;BR /&gt;And I have to leave now, if I have time ,I will test it .</description>
      <pubDate>Thu, 24 Aug 2023 12:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890731#M351957</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-24T12:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890734#M351959</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dsam_0-1692878384401.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86996i5C1E8CB9BDD15256/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dsam_0-1692878384401.png" alt="dsam_0-1692878384401.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;please see how my * is placed randomly on top instead of at the end of the bar. my code is below&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="dsam_1-1692878491536.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86997iF6F0CBDF24A76D60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dsam_1-1692878491536.png" alt="dsam_1-1692878491536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 12:01:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890734#M351959</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-24T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890735#M351960</link>
      <description>I don't know if i cant the real data since it is company's confidentiality.</description>
      <pubDate>Thu, 24 Aug 2023 12:02:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890735#M351960</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-24T12:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890736#M351961</link>
      <description>"how my * is placed randomly on top instead of at the end of the bar. "&lt;BR /&gt;What do you mean ? I don't understand .</description>
      <pubDate>Thu, 24 Aug 2023 12:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890736#M351961</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-24T12:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890737#M351962</link>
      <description>POST YOUR REAL/MASKED DATA.</description>
      <pubDate>Thu, 24 Aug 2023 12:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890737#M351962</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-24T12:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890739#M351963</link>
      <description>&lt;P&gt;You want this ?&lt;/P&gt;
&lt;P&gt;As I said post REAL or MASKED data, so I can test where is the problem.&lt;/P&gt;
&lt;P&gt;Otherwise, you should resort to yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
infile cards expandtabs truncover;
input Sor :$20.	scrndosn	hardosn	encdosn	(group2	chall label) (:$20.);
_scrndosn=scrndosn-.2*scrndosn;
_hardosn=hardosn-.2*hardosn;
_encdosn=encdosn-.2*encdosn;
cards;
101/HDM	30	100	300	HDM	cake
102/LDM	3	300	10	LDM	cupcake  *
102/LDM	600	2000	2000	LDM	cake  *
102/LDM	1000	4000	1000	LDM	soda *
103/PDM	600	2000	4000	PDM	soda
103/PLM	100	100	100	PLM	cake  *
104/PDM	100	100	1000	PDM	water *
;
proc format;
picture fmt
low-high='00009mg';
run;
ods graphics /width=10in height=6in;
proc sgpanel data=have nocycleattrs noautolegend ;
panelby group2/layout=rowlattice  novarname onepanel proportional uniscale=column NOHEADERBORDER HEADERBACKCOLOR=white;
hbarparm category=Sor response=encdosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=l1) baseline=1  ;
text y=Sor x=_encdosn text=label/group=chall groupdisplay=cluster strip contributeoffsets=none textattrs=(size=20 color=black);

hbarparm category=Sor response=hardosn/group=chall fillpattern nofill groupdisplay=cluster fillpatternattrs=(pattern=r1) baseline=1;
text y=Sor x=_hardosn text=label/group=chall groupdisplay=cluster strip contributeoffsets=none textattrs=(size=20 color=black);

hbarparm category=Sor response=scrndosn/group=chall groupdisplay=cluster baseline=1 ;
text y=Sor x=_scrndosn text=label/group=chall groupdisplay=cluster strip contributeoffsets=none textattrs=(size=20 color=black);

rowaxis display=(nolabel) discreteorder=data;
colaxis display=(nolabel) type=log  integer valuesformat=fmt.  offsetmax=0.03
 values=(1, 3, 10, 30, 100, 300, 600, 1000, 2000, 4000) ;
refline 600/axis=x ;
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-1692879990430.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86998iCAA14359DAD485AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1692879990430.png" alt="Ksharp_0-1692879990430.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 12:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890739#M351963</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-24T12:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890740#M351964</link>
      <description>Like the annotation in my graph that I shared in my pic is placed on top of the bar instead of end of where the bar ends in your plot</description>
      <pubDate>Thu, 24 Aug 2023 12:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890740#M351964</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-24T12:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot horizontal bar chart with annotation ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890903#M352018</link>
      <description>I changed this code just a bit with the formatted values and it is working fine now! Thank you again , you are always so helpful!</description>
      <pubDate>Thu, 24 Aug 2023 19:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-horizontal-bar-chart-with-annotation/m-p/890903#M352018</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2023-08-24T19:59:46Z</dc:date>
    </item>
  </channel>
</rss>

