<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Difficulty Graphing for custom date &#x2F; time range]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I've asked a similar question before but we're still having some trouble understanding the best way to create a serial chart for the past 12 hours.</p>
<p dir="auto">What we are doing now <em>works</em> BUT, if you graph "too many" points (one of our dashboard pages has 7 points across two graphs), the page loads very slow and crashes frequently. I believe the way we are doing it now is not the best way, so I'm hoping for some advice.</p>
<p dir="auto">Is there a more efficient way to achieve what we want?</p>
<p dir="auto">This is a small sample of what we are doing now:</p>
<pre><code>&lt;!-- We only want to obtain last 12 hours of data, so use Angular Moment Library to do figure out what last 12 hours are--&gt;
&lt;ma-now update-interval="1 minutes" output="to"&gt;&lt;/ma-now&gt;
&lt;ma-calc input="to | maMoment:'subtract':12:'hours'" output="from"&gt;&lt;/ma-calc&gt;

&lt;!-- Get last 12 hour of flow, suction, and output pressure data, averaged over 1 minute --&gt;
&lt;ma-point-values 
    point-xid="leaderOutdoorTemperature"
    rendered="true" 
    values="leaderOutdoorTemperatureHistorical" 
    from="from" 
    to="to" 
    rollup="AVERAGE" 
    rollup-interval="1 minutes"&gt;
&lt;/ma-point-values&gt; 
</code></pre>
<p dir="auto">Here's the dasboard:<br />
<img src="https://camo.nodebb.org/daa5a1653f3b718ccbbead10e1d48fdfe593161a?url=https%3A%2F%2Fi.imgur.com%2Fec0NFbK.png" alt="0_1532018916179_c6e84fc5-a7af-4e47-b13d-f47e5f2f224a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Some further info:<br />
<img src="https://camo.nodebb.org/b57547713df2557e09aecfe0ddde0db4218148a1?url=https%3A%2F%2Fi.imgur.com%2FFyuubhN.png" alt="0_1532019039042_cfd5ec52-8d61-447d-b04b-c51c7baa7d13-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://camo.nodebb.org/d58e88ae84dd18321aa1d5914ff80b4f237efeed?url=https%3A%2F%2Fi.imgur.com%2FbemnHGA.png" alt="0_1532019092491_80209cd4-11dd-44a4-b942-1dd685f95a3a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/topic/3658/difficulty-graphing-for-custom-date-time-range</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 05:33:34 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3658.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Jul 2018 16:48:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Wed, 25 Jul 2018 15:45:10 GMT]]></title><description><![CDATA[<p dir="auto">No problem!</p>
<p dir="auto">Here's another screenshot which might give you some ideas as well -- left the dashboard open on my PC overnight and it crashed -- it crashes much faster on our display PCs,  but they do have fairly good specs.</p>
<p dir="auto"><img src="https://camo.nodebb.org/2b1225a4d5cc3fe6999730d153e8d6ff43466d88?url=https%3A%2F%2Fi.imgur.com%2FqlF7YOP.png" alt="0_1532533684320_image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/19304</link><guid isPermaLink="true">https://forum.mango-os.com/post/19304</guid><dc:creator><![CDATA[rshah]]></dc:creator><pubDate>Wed, 25 Jul 2018 15:45:10 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Wed, 25 Jul 2018 15:33:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rshah" aria-label="Profile: rshah">@<bdi>rshah</bdi></a>  Yes, sorry busy week.</p>
]]></description><link>https://forum.mango-os.com/post/19303</link><guid isPermaLink="true">https://forum.mango-os.com/post/19303</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Wed, 25 Jul 2018 15:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Tue, 24 Jul 2018 18:25:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: Jared-Wiltshire">@<bdi>Jared-Wiltshire</bdi></a></p>
<p dir="auto">Just want to confirm you rec'd the PM with the chrome profiler?</p>
<p dir="auto">Thanks!</p>
<p dir="auto">RS</p>
]]></description><link>https://forum.mango-os.com/post/19290</link><guid isPermaLink="true">https://forum.mango-os.com/post/19290</guid><dc:creator><![CDATA[rshah]]></dc:creator><pubDate>Tue, 24 Jul 2018 18:25:49 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Thu, 19 Jul 2018 23:37:00 GMT]]></title><description><![CDATA[<p dir="auto">Looks like we are using it:</p>
<p dir="auto"><img src="https://camo.nodebb.org/db7ed1543258012c130b70b5f5ac0e3145fe65f4?url=https%3A%2F%2Fi.imgur.com%2FkzTrORK.png" alt="0_1532043624828_b5a06ae4-76a9-4c6d-aa94-c7e26b322136-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/19258</link><guid isPermaLink="true">https://forum.mango-os.com/post/19258</guid><dc:creator><![CDATA[rshah]]></dc:creator><pubDate>Thu, 19 Jul 2018 23:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Thu, 19 Jul 2018 22:15:40 GMT]]></title><description><![CDATA[<p dir="auto">The Mango TSDB also know as the Mango NoSQL Database is our Time Series Database that comes with our commercial installations.  You can check under Administration &gt; Modules and look for it there. <img src="https://camo.nodebb.org/a52d7223821fba9b1191f6a5bd09033cda36e96a?url=https%3A%2F%2Fi.imgur.com%2FggJadp3.png" alt="0_1532038699380_ed280982-fbdf-4652-ab29-658a2f8ef4ec-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You can learn more about it here: <a href="https://help.infiniteautomation.com/enterprise-nosql-database/" rel="nofollow ugc">https://help.infiniteautomation.com/enterprise-nosql-database/</a></p>
]]></description><link>https://forum.mango-os.com/post/19257</link><guid isPermaLink="true">https://forum.mango-os.com/post/19257</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 19 Jul 2018 22:15:40 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Thu, 19 Jul 2018 18:38:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> said in <a href="/post/19247">Difficulty Graphing for custom date / time range</a>:</p>
<blockquote>
<p dir="auto">How slow is "very slow"? What else is on the page? Are you using the Mango TSDB?</p>
</blockquote>
<p dir="auto">I guess slow is relative to our other pages, this one is about 4second load time vs the rest which are &lt;1s</p>
<p dir="auto">Nothing else on the page except what is in the screenshot above</p>
<p dir="auto">Not sure what Mango TSDB is</p>
<p dir="auto">Link PMd, thanks!</p>
<p dir="auto">RS</p>
]]></description><link>https://forum.mango-os.com/post/19252</link><guid isPermaLink="true">https://forum.mango-os.com/post/19252</guid><dc:creator><![CDATA[rshah]]></dc:creator><pubDate>Thu, 19 Jul 2018 18:38:52 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty Graphing for custom date &#x2F; time range on Thu, 19 Jul 2018 17:05:30 GMT]]></title><description><![CDATA[<p dir="auto">Your code looks good to me.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rshah" aria-label="Profile: rshah">@<bdi>rshah</bdi></a> said in <a href="/post/19245">Difficulty Graphing for custom date / time range</a>:</p>
<blockquote>
<p dir="auto">the page loads very slow</p>
</blockquote>
<p dir="auto">How slow is "very slow"? What else is on the page? Are you using the Mango TSDB?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rshah" aria-label="Profile: rshah">@<bdi>rshah</bdi></a> said in <a href="/post/19245">Difficulty Graphing for custom date / time range</a>:</p>
<blockquote>
<p dir="auto">crashes frequently.</p>
</blockquote>
<p dir="auto">I'm guessing if you run the profiler for more than a minute you will see a spike in activity every minute, how long does it take to stabilize? Maybe take a longer profile, save it and send it to me (PM me a dropbox/google drive etc link).</p>
]]></description><link>https://forum.mango-os.com/post/19247</link><guid isPermaLink="true">https://forum.mango-os.com/post/19247</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Thu, 19 Jul 2018 17:05:30 GMT</pubDate></item></channel></rss>