<?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: GANTT diagram in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307111#M17232</link>
    <description>&lt;P&gt;Hi, you can do something like the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Find the order that you want to view the tasks in. Assign this so the task yo get on to get the highest value and the task you want at bottom get the lowest value. In your example below you must create a table that has&lt;UL&gt;&lt;LI&gt;Value number&lt;/LI&gt;&lt;LI&gt;o1_xxx 3&lt;/LI&gt;&lt;LI&gt;01_zzz 2&lt;/LI&gt;&lt;LI&gt;01_JJJ 1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create a numeric display format that has the number as the value and the text as the label. Now you can plot the jobname on the y axes using the number, but display using the format&lt;/LI&gt;&lt;LI&gt;For each line do a loop going from the start_time to end-time by minute or hour depending on your data. for =1_xxx put value= 3 for 01_yyy put value=&amp;nbsp;2 and so on.&lt;/LI&gt;&lt;LI&gt;Now you have a data set that is missing when the data is not there and 3,2,etc when the task is being done.&lt;/LI&gt;&lt;LI&gt;then plot the data as a series X=date_time y=value use a wider than usual pattern. Use the&amp;nbsp;format you created for the value variable.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 25 Oct 2016 13:01:56 GMT</pubDate>
    <dc:creator>PaalNavestad</dc:creator>
    <dc:date>2016-10-25T13:01:56Z</dc:date>
    <item>
      <title>GANTT diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307087#M17228</link>
      <description>&lt;P&gt;I want to show my data in a GANTT diagram. But we do not have SAS/OR so the proc gantt is not possible. I was wondering if it is possible to visualize with sgplot? Anyone has some ideas (code)? My data and thoughts about the plot as specified below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;DATA:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jobname &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; start_time &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end_time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;01_XXX_YYY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24Oct2016:09:04:04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;24Oct2016:09:04:08&lt;/P&gt;&lt;P&gt;01_ZZZ_FFF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24Oct2016:07:34:11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;24Oct2016:07:34:18&lt;/P&gt;&lt;P&gt;01_JJJ_KKK &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25Feb2016:20:30:17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;25Feb2016:40:30:17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;PLOT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;01_XXX_YYY &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt; -------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;01_ZZZ_FFF &amp;nbsp;&amp;nbsp; &lt;STRONG&gt;---------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;01_JJJ_KKK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;-------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;00.00--------------------------------------------------------------------------------------------------------- 23.59&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 11:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307087#M17228</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2016-10-25T11:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: GANTT diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307100#M17229</link>
      <description>&lt;P&gt;A highlow plot should be able to do this, here are a lot of examples on the highlow plot with code:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/?s=highlow" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/?s=highlow&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a matter of setting your x/y axis correctly, and tweaking some of the options.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 12:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307100#M17229</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-25T12:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: GANTT diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307101#M17230</link>
      <description>&lt;P&gt;Yes, you can use SGPLOT. You need just two columns, e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA TEST1;
	INPUT Jobname $10. Time datetime19.;
	CARDS ;
01_JJJ_KKK 24Oct2016:08:30:17
01_JJJ_KKK 24Oct2016:10:30:17
01_XXX_YYY 24Oct2016:11:04:04
01_XXX_YYY 24Oct2016:13:04:08
01_ZZZ_FFF 24Oct2016:15:34:11
01_ZZZ_FFF 24Oct2016:18:34:18
; 
RUN;

DATA TEST2;
	set TEST1;
	format Time datetime19.;
RUN;

PROC SGPLOT DATA=TEST2;
	SERIES X=time Y=Jobname / group=Jobname;
	yaxis TYPE=DISCRETE;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note: I changed the timepoints.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 12:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307101#M17230</guid>
      <dc:creator>SASUserMD</dc:creator>
      <dc:date>2016-10-25T12:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: GANTT diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307102#M17231</link>
      <description>&lt;P&gt;You can do basic GANTT plots with the HIGHLOW plot. You can use the SCATTER and TEXT statements to add additional information.&lt;/P&gt;
&lt;P&gt;Two good articles to read are:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2014/05/04/the-highlow-plot/" target="_self"&gt;The HIGHLOW&amp;nbsp;plot&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2014/06/22/swimmer-plot/" target="_self"&gt;The swimmer plot&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 12:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307102#M17231</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-25T12:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: GANTT diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307111#M17232</link>
      <description>&lt;P&gt;Hi, you can do something like the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Find the order that you want to view the tasks in. Assign this so the task yo get on to get the highest value and the task you want at bottom get the lowest value. In your example below you must create a table that has&lt;UL&gt;&lt;LI&gt;Value number&lt;/LI&gt;&lt;LI&gt;o1_xxx 3&lt;/LI&gt;&lt;LI&gt;01_zzz 2&lt;/LI&gt;&lt;LI&gt;01_JJJ 1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create a numeric display format that has the number as the value and the text as the label. Now you can plot the jobname on the y axes using the number, but display using the format&lt;/LI&gt;&lt;LI&gt;For each line do a loop going from the start_time to end-time by minute or hour depending on your data. for =1_xxx put value= 3 for 01_yyy put value=&amp;nbsp;2 and so on.&lt;/LI&gt;&lt;LI&gt;Now you have a data set that is missing when the data is not there and 3,2,etc when the task is being done.&lt;/LI&gt;&lt;LI&gt;then plot the data as a series X=date_time y=value use a wider than usual pattern. Use the&amp;nbsp;format you created for the value variable.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307111#M17232</guid>
      <dc:creator>PaalNavestad</dc:creator>
      <dc:date>2016-10-25T13:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: GANTT diagram</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307218#M17237</link>
      <description>&lt;P&gt;This solution functions perfect.Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 18:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/GANTT-diagram/m-p/307218#M17237</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2016-10-25T18:46:35Z</dc:date>
    </item>
  </channel>
</rss>

