<?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: A way to show a date with no data in graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725374#M90975</link>
    <description>&lt;P&gt;Now that I can once again log into the Community (as an aside, I will yet again rail against this 2 step authorization - it has made it harder to participate, and when it fails like it did this weekend, it makes it impossible - please go back to the old log in):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the question is whether you have the date with the missing data in your data set or not.&amp;nbsp; If the date is there but the data is missing, then I think if you change the data type to nominal, it will display with the data missing as you want.&amp;nbsp; If the date is not presently in the dataset (meaning that there is no data but also no row for that particular day), then I think jthi's solution will work.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 12:43:17 GMT</pubDate>
    <dc:creator>dlehman1</dc:creator>
    <dc:date>2024-02-26T12:43:17Z</dc:date>
    <item>
      <title>A way to show a date with no data in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725331#M90961</link>
      <description>&lt;P&gt;Hye everyone,&lt;/P&gt;&lt;P&gt;I have a chart where I'd like to show each day and if there is no data for the day the date would still show but be blank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_2-1708731461435.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61456i465B0373BAC3E0CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_2-1708731461435.png" alt="shampton82_2-1708731461435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here you can see that there is no data for the 22nd.&amp;nbsp; However, I would like that date to still show up.&amp;nbsp; I'm thinking I might have to use JSL to check that there is a day for ach day possible between the min and max dates in the data set and add in a dummy line item for any missing days but interested if anyone else has a different approach I could take.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any ideas!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 23:42:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725331#M90961</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2024-02-23T23:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: A way to show a date with no data in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725335#M90963</link>
      <description>&lt;P&gt;You could add some dummy rows -&amp;nbsp;with &lt;FONT face="courier new,courier"&gt;dates&lt;/FONT&gt;, but with &lt;FONT face="courier new,courier"&gt;Freq&lt;/FONT&gt; set to 0 or missing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1708786643627.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61458iB9E622F5B6571DA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1708786643627.png" alt="hogi_0-1708786643627.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "test",
	Add Rows( 20 ),
	New Column( "date",
		Format( "d/m/y h:m:s", 22, 0 ),
		Formula( Today() + In Days( Row() ) )
	),
	New Column( "freq",
		Set each value(if (contains({5,6,7}, row()), . , 1) )
	)
);

dt &amp;lt;&amp;lt; Graph Builder(
	Variables( X( :date ), Frequency( :freq ) ),
	Elements( Bar( X) )
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 14:58:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725335#M90963</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-02-24T14:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: A way to show a date with no data in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725345#M90965</link>
      <description>&lt;P&gt;Is your END_DATE properly formatted as a date (numeric and continuous)? Usually Graph builder will "force" you to show all dates if you have set your column as numeric continuous&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1708873187609.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61462iE32E523B9FA6FE86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1708873187609.png" alt="jthi_0-1708873187609.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 15:00:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725345#M90965</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-02-25T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: A way to show a date with no data in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725374#M90975</link>
      <description>&lt;P&gt;Now that I can once again log into the Community (as an aside, I will yet again rail against this 2 step authorization - it has made it harder to participate, and when it fails like it did this weekend, it makes it impossible - please go back to the old log in):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the question is whether you have the date with the missing data in your data set or not.&amp;nbsp; If the date is there but the data is missing, then I think if you change the data type to nominal, it will display with the data missing as you want.&amp;nbsp; If the date is not presently in the dataset (meaning that there is no data but also no row for that particular day), then I think jthi's solution will work.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 12:43:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725374#M90975</guid>
      <dc:creator>dlehman1</dc:creator>
      <dc:date>2024-02-26T12:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: A way to show a date with no data in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725406#M90990</link>
      <description>&lt;P&gt;I agree the two step is a step backwards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case it was that there was no data for the date, and the suggestion from &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;worked.&amp;nbsp; I have had times where I want the data to be Nominal and in that case you have to add in dummy data along the lines of what&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;suggested.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 16:00:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/A-way-to-show-a-date-with-no-data-in-graph-builder/m-p/725406#M90990</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2024-02-26T16:00:48Z</dc:date>
    </item>
  </channel>
</rss>

