• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Filtering Values from chart

    Mango Automation general Discussion
    2
    4
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RonnyHinkel
      last edited by

      Hi
      I would like to filter fault values from the chart, for here i would like to filter out the value 0

      0_1582189520373_Screenshot 2020-02-20 at 17.02.50.png

      Unfortunately the 0 value gets generated from the PLC system while reseting and so i also collect those data, as is a change of value.

      How can i filter out those values?

      MattFoxM 1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox @RonnyHinkel
        last edited by

        @ronnyhinkel if the zeros aren't necessary, you can set your data point to have max and min values which will disregard anything outside of that range. These settings can often be saved as a datapoint template to use across other points in your system.
        If not, perhaps reading into the use of the maFn component may be of help..

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        R 1 Reply Last reply Reply Quote 0
        • R
          RonnyHinkel @MattFox
          last edited by

          @mattfox
          Were hoping there would be a if condition
          <ma-point-values point-xid="DP_bf4e8b98-ff25-439c-a63e-4af21bc92902" point="point1" values="point1Values" if>0.0 from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
          </ma-point-values>

          1 Reply Last reply Reply Quote 0
          • MattFoxM
            MattFox
            last edited by

            That won't work for a start as point1Values will be an array, secondly, there is no such thing as an 'if' attribute in HTML. AngularJS supplies an "ng-if"but that's different again and works with angularJS variables.

            I was stating under the datapoint properties you can set min and max permitted values in the system I don't have the latest version of mango so i'm unable to give you a screenshot.
            But if you look under datasources -> points -> and edit the respective point you can make it ignore when you have 0s coming in from system resets.

            If however that is not possible and you need those zeroes then a function is required to filter them.

            Do not follow where the path may lead; go instead where there is no path.
            And leave a trail - Muriel Strode

            1 Reply Last reply Reply Quote 0
            • First post
              Last post