Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Filter data before plotting
-
Hey hey, quick question I hope. Is it possible to filter out certain point values before plotting in Mango? For example I'm using maPointValues to get some deltas but some of those values are waaaay too negative to plot on a serial chart. I've spent the last hour poking at how angular filters work but I'm getting nowhere. Is possible to filter out all negative numbers for example?
-
I'm still curious about how this would be done but TBH I just achieved the same result by changing the chart properties to not go below 0
-
Hi psysak,
Here are some resources and previous threads that have some example filters defined in the user module in the UI settings.
https://help.infiniteautomation.com/getting-started-with-a-user-module/
https://forum.infiniteautomation.com/topic/3503/how-to-chart-with-data-points-in-the-x-axis-instead-of-time
https://forum.infiniteautomation.com/topic/2982/problem-with-assigning-value-using-mypoint-renderedvalueJared also linked to a lot of AngularJS documentation that may be helpful here:
https://forum.infiniteautomation.com/topic/3603/sorting-an-output-array-of-ma-point-statistics