<?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: In SGPLOT how to change data label color ? What's wrong in this xaxistable? How do I set colorgr in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901890#M24187</link>
    <description>Thank you. Very helpful</description>
    <pubDate>Tue, 07 Nov 2023 14:32:17 GMT</pubDate>
    <dc:creator>Stalk</dc:creator>
    <dc:date>2023-11-07T14:32:17Z</dc:date>
    <item>
      <title>In SGPLOT how to change data label color ? What's wrong in this xaxistable? How do I set colorgroup?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901823#M24184</link>
      <description>&lt;P&gt;One of my response values is 90 and other one is 0.02 , in order to show that, I would like to use different colors for groups based on the legend color&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title " ";&lt;BR /&gt;ods listing style=listing;&lt;BR /&gt;ods graphics / width=5in height=2.81in;&lt;BR /&gt;ods graphics / reset=ALL outputfmt=PNG imagename="ByDilution"; &lt;BR /&gt;ods pdf file="&amp;amp;graph_loc.Target_Bargraph_Exp5.pdf";&lt;BR /&gt;proc sgplot data=main_subset PCTLEVEL=GRAPH;&lt;BR /&gt;format replicate $method.;&lt;BR /&gt;styleattrs datacolors=(Blue red) datacontrastcolors=(Blue red);&lt;BR /&gt;vbar Sample_name / response = Mapped_percent group=replicate groupdisplay = cluster nooutline Clusterwidth=1 datalabel&lt;BR /&gt;stat=mean dataskin=pressed;&lt;BR /&gt;xaxistable Sample_name / colorgroup=replicate ;&lt;BR /&gt;xaxis display=(nolabel noticks) discreteorder=data FITPOLICY=ROTATE;&lt;BR /&gt;yaxis label="% Reads";&lt;BR /&gt;keylegend /title='' noborder autooutline;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods pdf close;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stalk_0-1699307699290.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89469iCDDEA31B68242386/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stalk_0-1699307699290.png" alt="Stalk_0-1699307699290.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 22:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901823#M24184</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2023-11-06T22:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: In SGPLOT how to change data label color ? What's wrong in this xaxistable? How do I set colorgr</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901838#M24185</link>
      <description>&lt;P&gt;I think I was able to change the data label colors using text, but how do I rotate the data values?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stalk_0-1699324658295.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89473i14B62D6A987A9C8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stalk_0-1699324658295.png" alt="Stalk_0-1699324658295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 02:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901838#M24185</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2023-11-07T02:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: In SGPLOT how to change data label color ? What's wrong in this xaxistable? How do I set colorgr</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901842#M24186</link>
      <description>Using ROTATE= option of TEXT statement.&lt;BR /&gt;Check Rick 's blog:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/09/09/anchor-rotated-text-sgplot.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/09/09/anchor-rotated-text-sgplot.html&lt;/A&gt;</description>
      <pubDate>Tue, 07 Nov 2023 04:47:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901842#M24186</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-11-07T04:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: In SGPLOT how to change data label color ? What's wrong in this xaxistable? How do I set colorgr</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901890#M24187</link>
      <description>Thank you. Very helpful</description>
      <pubDate>Tue, 07 Nov 2023 14:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/In-SGPLOT-how-to-change-data-label-color-What-s-wrong-in-this/m-p/901890#M24187</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2023-11-07T14:32:17Z</dc:date>
    </item>
  </channel>
</rss>

