<?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: Bar chart in SAS EG 7.1 in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195018#M13193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I thought you already knew how to create a Bar Chart in EG and wanted an alternative. Depending on what exactly you mean by "as good as in MS Excel" you may or may not have to use code. For example, I produced the screenshot below using the Graph Task in EG (after I ran a program to make the HEADCOUNT data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="use_eg_bar_chart.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9533_use_eg_bar_chart.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 21:27:51 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-03-11T21:27:51Z</dc:date>
    <item>
      <title>Bar chart in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195014#M13189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to create a bar chart (click on the dataset-&amp;gt;Graph-&amp;gt;Bar Chart) in SAS EG 7.1 but I'm unable to produce the bar chart in SAS as good as in MS Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any possibilities to produce the bar chart in EG as similar to the attachment which I did in Excel 2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your inputs.&lt;IMG alt="Excel bar chart.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9449_Excel bar chart.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 10:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195014#M13189</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-05T10:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195015#M13190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I dont use EG so cant comment specifically on the functionality, although a Google search had many help documents:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://analytics.ncsu.edu/sesug/2009/HOW007.Thompson.pdf" title="http://analytics.ncsu.edu/sesug/2009/HOW007.Thompson.pdf"&gt;http://analytics.ncsu.edu/sesug/2009/HOW007.Thompson.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a matter of learning Graph Template language and coding, you can then do most things with graphs.&amp;nbsp; For help learning that, have a look through this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" title="http://blogs.sas.com/content/graphicallyspeaking/"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 10:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195015#M13190</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-03-05T10:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195016#M13191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="sgplot_headcount.bmp" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9461_sgplot_headcount.bmp" width="450" /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You don't really need GTL for this simple bar chart. The SGPLOT procedure with the VBAR statement will do it. The KEYLEGEND statement gives you a chance to position the legend outside.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data headcount;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; length city $12;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; infile datalines;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; input City $ Headcount;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; label headcount='Head Count';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;return;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;datalines;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Bridgewater&amp;nbsp; 110&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Flemington&amp;nbsp; 125&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Hillsborough 130&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Somerset&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc sgplot data=headcount;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; vbar city / response=headcount name='HC';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; xaxis&amp;nbsp; label=' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; yaxis values=(0 to 140 by 20) label='Head Count' grid;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; keylegend 'HC' / location=outside position=right&amp;nbsp; ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;(Note: I will post a screen shot when able to)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 15:16:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195016#M13191</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-05T15:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195017#M13192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't we do this with a simple drag &amp;amp; drop like I did earlier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I tried to create a bar chart (click on the dataset-&amp;gt;Graph-&amp;gt;Bar Chart) in SAS EG 7.1&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 16:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195017#M13192</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2015-03-05T16:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195018#M13193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I thought you already knew how to create a Bar Chart in EG and wanted an alternative. Depending on what exactly you mean by "as good as in MS Excel" you may or may not have to use code. For example, I produced the screenshot below using the Graph Task in EG (after I ran a program to make the HEADCOUNT data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="use_eg_bar_chart.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9533_use_eg_bar_chart.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 21:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195018#M13193</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-11T21:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195019#M13194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post under SAS EG instead of Graphs perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code will always be more powerful than GUI. &lt;/P&gt;&lt;P&gt;You can check if EG has something called SGDesign which is available in SAS Base to customize graphs afterwards, which is point and click. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 22:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Bar-chart-in-SAS-EG-7-1/m-p/195019#M13194</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-11T22:58:05Z</dc:date>
    </item>
  </channel>
</rss>

