• 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

    Comparing 2.8.8 chart with 3.2.2

    Dashboard Designer & Custom AngularJS Pages
    3
    11
    2.5k
    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.
    • P
      Phillip Weeks
      last edited by

      I am wondering why it is, when our meters reset to 0 on the 26th, the delta chart run on latest 3.2.2 shows a big negative number reflecting the delta change from 20k to 0 while the delta for the other chart does not show this negative value and therefor does NOT biasly skew the size of the columns? Is there a parameter set to ignore values below 0 in 2.8.8 Iam not aware of? The point definitions are identical. The first is run in 3.2.2 and the second is rum in 2.8.8
      Can someone explain what is going on as it is the same code being run on both instances?? Thanks in advance. ;)

      0_1515108184707_56100908-668e-4f04-8980-170e6d0c8301-image.png
      . 0_1515108107631_c064628b-93a8-4ea8-8ffa-01cef3ccface-image.png

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

        The delta calculation is just that so if your data rolls over to 0 then the negative value is a correct delta calculation. There has never been special handling for roll overs so I would check your raw data.

        1 Reply Last reply Reply Quote 0
        • P
          Phillip Weeks
          last edited by Phillip Weeks

          so why are these two charts different? Same data. This is the data from 2.8.8 and does not show a negative delta in the chart above.

          0_1515173867748_7a51f787-bf1d-4298-b536-30a276f3ee18-image.png

          1 Reply Last reply Reply Quote 0
          • P
            Phillip Weeks
            last edited by

            Hi Joel, our issues with the bar charts not displaying at all and/or the graphs looking different with the previous charting version began when we moved to mango version 3. Is there a way to substitute/ revert to or otherwise incorporate the previous charting object from 2.8.8 back into v3.2.2 ? I love the designer and would never want to revert back to 2.8.8 just to get decent looking charts.

            The chart renderings above showing a negative delta's and no negative delta, I really have no idea what is happening because the data is exactly the same as I demonstrate when I display first values under 2.8.8 and show the values drop to zero on the 26th yet no coinciding negative bar graph value is rendered using delta as does happen with the latest charting object so it's obvious the behavior of the latest charting object renders different than its predecessor. If we must live with the latest charting object version, we need to resolve rendering issues else we cannot produce professional client dashboards.

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

              @Phillip-Weeks can you put a <pre ng-bind="pointValues | json"></pre> on each page so we can see the actual content of the point values (post the content up here). This will verify if the values coming back are different or if the charting component behavior changed.

              Developer at Radix IoT

              1 Reply Last reply Reply Quote 0
              • P
                Phillip Weeks
                last edited by Phillip Weeks

                @jared-wiltshire said in Comparing 2.8.8 chart with 3.2.2:
                This code was cut and paste into the v3 designer page in the next post.
                0_1515505632598_e6954716-1702-434f-8223-1b95d6def98a-image.png

                1 Reply Last reply Reply Quote 0
                • P
                  Phillip Weeks
                  last edited by

                  This is with version v3. This is a delta chart..

                  0_1515456188426_a782f141-9521-4f3a-8787-9a026b15bdd0-image.png

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

                    Can you post the JSON, not pictures please.

                    Developer at Radix IoT

                    1 Reply Last reply Reply Quote 0
                    • P
                      Phillip Weeks
                      last edited by Jared Wiltshire

                      Data From 2.8.8:

                      [
                        {
                          "value": -9399.5,
                          "timestamp": 1514174400000,
                          "annotation": null
                        },
                        {
                          "value": 80.5,
                          "timestamp": 1514260800000,
                          "annotation": null
                        },
                        {
                          "value": 66,
                          "timestamp": 1514347200000,
                          "annotation": null
                        },
                        {
                          "value": 37,
                          "timestamp": 1514433600000,
                          "annotation": null
                        },
                        {
                          "value": 0,
                          "timestamp": 1514520000000,
                          "annotation": null
                        }
                      ]
                      [
                        {
                          "value": -20117,
                          "timestamp": 1514174400000,
                          "annotation": null
                        },
                        {
                          "value": 231,
                          "timestamp": 1514260800000,
                          "annotation": null
                        },
                        {
                          "value": 180.5,
                          "timestamp": 1514347200000,
                          "annotation": null
                        },
                        {
                          "value": 133.5,
                          "timestamp": 1514433600000,
                          "annotation": null
                        },
                        {
                          "value": 0,
                          "timestamp": 1514520000000,
                          "annotation": null
                        }
                      ]
                      

                      Data from 3.2.2:

                      [
                        {
                          "annotation": null,
                          "value": -9399.5,
                          "timestamp": 1514174400000,
                          "rendered": "-9399.5"
                        },
                        {
                          "annotation": null,
                          "value": 80.5,
                          "timestamp": 1514260800000,
                          "rendered": "80.5"
                        },
                        {
                          "annotation": null,
                          "value": 66,
                          "timestamp": 1514347200000,
                          "rendered": "66"
                        },
                        {
                          "annotation": null,
                          "value": 37,
                          "timestamp": 1514433600000,
                          "rendered": "37"
                        },
                        {
                          "annotation": null,
                          "value": 15.5,
                          "timestamp": 1514520000000,
                          "rendered": "15.5"
                        }
                      ]
                      [
                        {
                          "annotation": null,
                          "value": -20116,
                          "timestamp": 1514174400000,
                          "rendered": "-20116"
                        },
                        {
                          "annotation": null,
                          "value": 231,
                          "timestamp": 1514260800000,
                          "rendered": "231"
                        },
                        {
                          "annotation": null,
                          "value": 180.5,
                          "timestamp": 1514347200000,
                          "rendered": "180.5"
                        },
                        {
                          "annotation": null,
                          "value": 133.5,
                          "timestamp": 1514433600000,
                          "rendered": "133.5"
                        },
                        {
                          "annotation": null,
                          "value": 67.5,
                          "timestamp": 1514520000000,
                          "rendered": "67.5"
                        }
                      ]
                      
                      1 Reply Last reply Reply Quote 0
                      • P
                        Phillip Weeks
                        last edited by

                        So Jared, any info on what is going on here?

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

                          @Phillip-Weeks not exactly. It seems that yes maybe something did change (either in our serial chart component or in the amCharts library) which affects how it draws the graph. As far as I can see though it is charting the values correctly in v3.2 as the JSON does indeed contain negative values.

                          If this is not what you desire I suggest that you try playing with the amCharts options for the valueaxis, try setting minimum: 0, strictMinMax: true.

                          So

                          <ma-serial-chart ... options="{valueAxes: [{minimum: 0, strictMinMax: true}]}"></ma-serial-chart>
                          

                          Developer at Radix IoT

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