<?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[Report charts - delta&#x2F;bar chart option]]></title><description><![CDATA[<p dir="auto">Just wondering if there is any way to set the report chart to plot a bar chart of deltas similar to how the normal charts work.</p>
<p dir="auto">Similarly, as a feature request, would it be possible to add in the <code>lastValue-firstValue</code> value into the point statistics object? I've been doing it by hand but it would be nice to have built in.</p>
<p dir="auto">We're monitoring utility accumulators (electricity, water etc.) so the delta is kind of the main piece of data at first glance for our users.</p>
<p dir="auto">Thanks,<br />
C</p>
]]></description><link>https://forum.mango-os.com/topic/4349/report-charts-delta-bar-chart-option</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 12:35:37 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4349.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Jul 2019 11:28:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Report charts - delta&#x2F;bar chart option on Mon, 29 Jul 2019 12:40:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi cbyrne,</p>
<p dir="auto">In this thread, I provided a "collateIntegrals" filter that could be passed the points values, do math on them and return a new point values array for charting: <a href="https://forum.infiniteautomation.com/topic/3503/how-to-chart-with-data-points-in-the-x-axis-instead-of-time/5" rel="nofollow ugc">https://forum.infiniteautomation.com/topic/3503/how-to-chart-with-data-points-in-the-x-axis-instead-of-time/5</a></p>
<p dir="auto">You could do something similar for calculating the deltas, or you could have a meta point that was calculating the deltas ahead of time, and then it would be like a normal chart.</p>
<blockquote>
<p dir="auto">Similarly, as a feature request, would it be possible to add in the lastValue-firstValue value into the point statistics object? I've been doing it by hand but it would be nice to have built in.</p>
</blockquote>
<p dir="auto">We defined the delta as the lastValue - startValue (if present, first value if not). Does that suit this need, or does it need specifically to be the firstValue?</p>
]]></description><link>https://forum.mango-os.com/post/22897</link><guid isPermaLink="true">https://forum.mango-os.com/post/22897</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 29 Jul 2019 12:40:27 GMT</pubDate></item></channel></rss>