• 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

    Graph 1 bar per day

    Dashboard Designer & Custom AngularJS Pages
    2
    3
    1.6k
    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.
    • B
      benaznbe
      last edited by

      See the attached photo, From the code I wrote. Get results as i attached the picture. But i want to get 1 bar graph per day using the maximum value.

      thank you support.!

      1_1517202847578_396F5A19-373B-4AD3-8721-98C63988CD94.jpeg 0_1517202847576_2B2E2B65-BD75-46ED-AEE4-8EBC201B1FF1.jpeg

      1 Reply Last reply Reply Quote 0
      • JoelHaggarJ
        JoelHaggar
        last edited by

        There is a way to do this exactly the way you want but I'll share a few other ideas that you might be interested in.

        I would suggest using the Date Bar. To enable this edit the menu item and select "Data and Rollup".

        You can also make buttons to control the date bar like in this example https://help.infiniteautomation.com/buttons-to-set-date-bar/

        You can also set a default rollup and chart type for each Data Point when editing the Data Point details on the Data Source page.

        Here is an example of using the date and rollups from the date bar. If you set the default rollup for the Data Point then this will be passed through

            <ma-watch-list-chart watch-list="designer.watchList" points="designer.points" from="dateBar.from" to="dateBar.to" rollup-type="dateBar.rollupType" rollup-intervals="dateBar.rollupIntervals" rollup-interval-period="dateBar.rollupIntervalPeriod" simplify-tolerance="dateBar.simplifyTolerance"></ma-watch-list-chart>
        
        1 Reply Last reply Reply Quote -1
        • JoelHaggarJ
          JoelHaggar
          last edited by

          Look at the API documentation for ma-point-values under /ui/docs/ng-mango/ma-point-values

          I think you just need to remove the auto-rollup-interval="true" add in

          rollup-interval="1 days"
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post