• 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

    Chart error after update

    Dashboard Designer & Custom AngularJS Pages
    2
    3
    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.
    • H
      henryblu
      last edited by

      Hello,

      I have just updated my Mango from v3.0.1 to v3.1.1. Previously I was able to take a virtual point using ma-point-values, and create a bar chart for the daily maximum for that point for the past week. The chart looked like this:
      0_1498466485875_Forum_Q.png

      Once I upgraded to 3.1.1, the chart is no longer working on the dashboard.
      I have copied the code to the play area, and it wont work there either. The code I used was:

      <ma-now update-interval="1 HOURS" output="theTimeNow"></ma-now>
      <ma-point-values point-xid="Site_Total_Real_Power" point="point1" values="max_val" from="theTimeNow | moment:'startOf':'day'|moment:'subtract':7:'days'" to="theTimeNow" rollup="MAXIMUM" rollup-interval="1 DAYS">
      </ma-point-values>
          
      <ma-serial-chart style="height: 300px; width: 100%" series-1-values="max_val" series-1-point="point1" default-type="column">
      </ma-serial-chart>
      

      Advice on why this output isn't working anymore would be really appreciated!
      Henry

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

        @henryblu I think it's probably just the moment filters, change them to maMoment

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • H
          henryblu
          last edited by

          Excellent! Thanks Jared, the following code worked perfectly:

              <ma-now update-interval="1 HOURS" output="theTimeNow"></ma-now>
              <ma-point-values point-xid="Site_Total_Real_Power" point="point1" values="max_val" from="theTimeNow | maMoment:'startOf':'day'|maMoment:'subtract':7:'days'" to="theTimeNow" rollup="MAXIMUM" rollup-interval="1 DAYS">
              </ma-point-values>
              
              <ma-serial-chart style="height: 300px; width: 100%" series-1-values="max_val" series-1-point="point1" default-type="column">
              </ma-serial-chart>
             
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post