• 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

    Event detector

    Dashboard Designer & Custom AngularJS Pages
    3
    6
    1.9k
    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.
    • J
      JoHn-Beer
      last edited by

      Hi.All
      I have two questions to help me.

      1.Event detector alerts. How can I bring a jog event alert to a jquery's ToggleClass?

      2.Max Y axis of 4-axis serialchart? I have 4 values left, left-2, right, right-2.Can serialchart set this up?

      Thank you for All.

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @john-beer said in Event detector:

        1.Event detector alerts. How can I bring a jog event alert to a jquery's ToggleClass?

        In general you should not be using jQuery with our dashboards, we are using AngularJS. I'm not sure what a "jog event alert" is. Can you describe further what you are trying to achieve?

        @john-beer said in Event detector:

        2.Max Y axis of 4-axis serialchart? I have 4 values left, left-2, right, right-2.Can serialchart set this up?

        Are you talking about for a <ma-serial-chart> component inside a custom page?

        Developer at Radix IoT

        J 1 Reply Last reply Reply Quote 0
        • J
          JoHn-Beer @Jared Wiltshire
          last edited by

          @jared-wiltshire

          1.Event detector. If event detector is alert I can do it on dashboards. For example, event detector is alert.I want to use the color of the graph flashing when the acknowledge does not blink.

          2.Yes, I mean <ma-serial-chart>. I try to use serial-X-axis. The X-axis uses left, left-2, right, right-2 to define 4 axes. I want axis 5 I need to do.

          3.<ma-serial-chart> Can the value of the graph make more than 5001? Graph it limit 5001 values

          Jared WiltshireJ 2 Replies Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            Hi JohHn-Beer,

            With regards to 1, you may find this thread interesting: https://forum.infiniteautomation.com/topic/3368/how-to-include-an-event-detector-value-into-a-function/

            That would be one way to aggregate a few event detector's current alarm state into a binary point, and then you can use the binary point to handle display logic on the page.

            1 Reply Last reply Reply Quote 0
            • Jared WiltshireJ
              Jared Wiltshire @JoHn-Beer
              last edited by

              @john-beer said in Event detector:

              2.Yes, I mean <ma-serial-chart>. I try to use serial-X-axis. The X-axis uses left, left-2, right, right-2 to define 4 axes. I want axis 5 I need to do.

              I just answered this question here. You can add as many y-axis configurations to the valueAxes array as you want, just give them a id property so you can reference them.
              https://forum.infiniteautomation.com/topic/3378/ma-serial-chart-can-not-set-multiple-axis-and-max-min/3

              @john-beer said in Event detector:

              3.<ma-serial-chart> Can the value of the graph make more than 5001? Graph it limit 5001 values

              You can change the limit in the UI Settings page under Administration. However you should not try and chart too many values, the charts will slow down your page. You should use a rollup when getting the point values to down sample your data.

              Developer at Radix IoT

              1 Reply Last reply Reply Quote 0
              • Jared WiltshireJ
                Jared Wiltshire @JoHn-Beer
                last edited by Jared Wiltshire

                @john-beer said in Event detector:

                1.Event detector. If event detector is alert I can do it on dashboards. For example, event detector is alert.I want to use the color of the graph flashing when the acknowledge does not blink.

                There is no support for this built into the components just yet. Please see @phildunlap 's answer

                You could write your own component and put it in the user module. To get events for a data point you would use the maEvents service using code like this

                maEvents.buildQuery()
                        .eq('dataPointId', 123)
                        .eq('active', true)
                        .query().then(result => {
                            // do something with events
                        });
                

                Developer at Radix IoT

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