<?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[Graph - Stop graphing when some value]]></title><description><![CDATA[<p dir="auto">Hi,<br />
is possibile to stop graphing when some value is returned?<br />
In my case Ubiquiti device return -1000 of signal strenght when remote device is not connected via radio.</p>
<p dir="auto">I need to stop graphing instead of get -1000<br />
<img src="http://value.png" alt="" class="img-markdown  img-fluid" /></p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005368-value.png" alt="value.png" class="img-markdown  img-fluid" width="975" height="337" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005369-exampleStopGraph.jpg" alt="exampleStopGraph.jpg" class="img-markdown  img-fluid" width="975" height="337" /></p>
]]></description><link>https://forum.netxms.org/topic/6832/graph-stop-graphing-when-some-value</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:15:59 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6832.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 27 Dec 2020 09:12:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Mon, 28 Dec 2020 12:34:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">there is open change request for that: <a href="https://track.radensolutions.com/issue/NX-1826" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1826</a>. Hopefully will fix it soon.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/29142</link><guid isPermaLink="true">https://forum.netxms.org/post/29142</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 28 Dec 2020 12:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Mon, 28 Dec 2020 10:37:23 GMT]]></title><description><![CDATA[<p dir="auto">However, there is an anomaly  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /><br />
If the chart is zoomed out, it tends to close the line between the previous and last retrieved value.<br />
See in my example 1H Graph and 4H same graph</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005373-Graph-1h.jpg" alt="Graph-1h.jpg" class="img-markdown  img-fluid" width="1030" height="563" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005374-Graph-4h.jpg" alt="Graph-4h.jpg" class="img-markdown  img-fluid" width="1030" height="559" /></p>
]]></description><link>https://forum.netxms.org/post/29137</link><guid isPermaLink="true">https://forum.netxms.org/post/29137</guid><dc:creator><![CDATA[Asterix]]></dc:creator><pubDate>Mon, 28 Dec 2020 10:37:23 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Mon, 28 Dec 2020 10:20:38 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Filipp!</p>
<p dir="auto"><strong>It Works ! !</strong></p>
]]></description><link>https://forum.netxms.org/post/29136</link><guid isPermaLink="true">https://forum.netxms.org/post/29136</guid><dc:creator><![CDATA[Asterix]]></dc:creator><pubDate>Mon, 28 Dec 2020 10:20:38 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Sun, 27 Dec 2020 21:41:44 GMT]]></title><description><![CDATA[<p dir="auto">Try abort instead of return null:</p>
<pre><code>if ($1 &lt; -100) {
  abort;
} else {
  return $1;
}
</code></pre>
]]></description><link>https://forum.netxms.org/post/29132</link><guid isPermaLink="true">https://forum.netxms.org/post/29132</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Sun, 27 Dec 2020 21:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Sun, 27 Dec 2020 18:34:00 GMT]]></title><description><![CDATA[<p dir="auto">I've tried, but in last value I get "0" instead of &lt;&lt;ERROR&gt;&gt;<br />
This is the Transformation<br />
<code>return ($1 &lt; -100) ? null : $1;</code></p>
<p dir="auto">Why?</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005370-Graph.jpg" alt="Graph.jpg" class="img-markdown  img-fluid" width="860" height="429" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005371-LastValue.jpg" alt="LastValue.jpg" class="img-markdown  img-fluid" width="685" height="66" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005372-Transformation.jpg" alt="Transformation.jpg" class="img-markdown  img-fluid" width="612" height="540" /></p>
]]></description><link>https://forum.netxms.org/post/29131</link><guid isPermaLink="true">https://forum.netxms.org/post/29131</guid><dc:creator><![CDATA[Asterix]]></dc:creator><pubDate>Sun, 27 Dec 2020 18:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Sun, 27 Dec 2020 17:48:49 GMT]]></title><description><![CDATA[<p dir="auto">Null means data collection error - no value will be stored in the DB, no value will be shown on the chart.<br />
The DCI will show "&lt;&lt;ERROR&gt;&gt;" in Last Values.</p>
<p dir="auto">If you want 0, simply return 0 in the transform script.</p>
]]></description><link>https://forum.netxms.org/post/29129</link><guid isPermaLink="true">https://forum.netxms.org/post/29129</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Sun, 27 Dec 2020 17:48:49 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Sun, 27 Dec 2020 16:47:51 GMT]]></title><description><![CDATA[<p dir="auto">When <em>null</em> is returned on the chart it goes a position itself as value <em>0</em></p>
<p dir="auto">Version 3.6.303</p>
<p dir="auto">Other methods?</p>
]]></description><link>https://forum.netxms.org/post/29128</link><guid isPermaLink="true">https://forum.netxms.org/post/29128</guid><dc:creator><![CDATA[Asterix]]></dc:creator><pubDate>Sun, 27 Dec 2020 16:47:51 GMT</pubDate></item><item><title><![CDATA[Reply to Graph - Stop graphing when some value on Sun, 27 Dec 2020 15:16:33 GMT]]></title><description><![CDATA[<p dir="auto">Use a transform script to return "null" when wrong value is received:</p>
<pre><code>if ($1 &lt; -100) {
  return null;
} else {
  return $1;
}
</code></pre>
]]></description><link>https://forum.netxms.org/post/29127</link><guid isPermaLink="true">https://forum.netxms.org/post/29127</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Sun, 27 Dec 2020 15:16:33 GMT</pubDate></item></channel></rss>