• 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

    Gauges Function AmCharts

    Dashboard Designer & Custom AngularJS Pages
    5
    35
    16.2k
    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.
    • L
      leoboeng @MattFox
      last edited by

      @mattfox

      0_1528719458924_fsdfsdfs.PNG

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

        @leoboeng something is still trying to load a file called PointValueController (no .js on the end). @MattFox latest code that he posted shouldn't be trying to load this file and if it was the file should be named with a .js on the end.

        Developer at Radix IoT

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

          @Jared-Wiltshire thanks for your help, I used the $injected method as you demonstrated in one of my earlier posts. I'll look at the other files pasted above to make sure I haven't fubar'd anthing up! Appreciate the assist
          EDIT: actually - think it's caching! @leoboeng when you have the dev console open. please left click and hold the mouse buttong on the refresh page icon in chrome. it should come up with a dropdown that says "Clear cache and hard refresh" or something to that effect. That might be the ticket to get this off the ground!

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

          L 1 Reply Last reply Reply Quote 0
          • L
            leoboeng @MattFox
            last edited by

            @mattfox I did as you asked and now you're not carrying anything else. It is not coming out of this page.

            0_1528889752065_efdsfds.PNG

            Message when I press show stack trace

            0_1528889760611_dfgfdgdfgdf.PNG
            0_1528889765790_ffdgdf.PNG

            1 Reply Last reply Reply Quote 0
            • L
              leoboeng
              last edited by

              I reinitiated the system, my computer, I changed the browser, tried with another pc but continues with the same problem.

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

                @leoboeng This is an error in your user module file from the looks of it. @MattFox 's latest file he posted looks fine, it's not the cause of this.

                You should have two files, both in the public file store, one is your user module and also the file for your new gauge chart component/directive. You should not be overriding any files. Ensure your gauge chart component is given a different name to the built in one (maGaugeChart).

                You seem to be struggling with this a little. The ability to add user modules was added so that people who are competent in JavaScript / AngularJS could add and extend the dashboards. It's not something that I would expect everyone to be able to use. Perhaps instead we can look at adding a way to configure more bands on the gauge charts for the next UI module release.

                Developer at Radix IoT

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

                  @leoboeng I've added the ability to configure any number of bands for the next release.

                  Example

                  <ma-gauge-chart point-xid="zero_to_hundred" bands="[{startValue: -10, endValue: 20, color:'blue'},{endValue: 40, color:'green'},{startValue: 65, endValue: 80, color:'orange'},{endValue: 150, color:'red'}]"></ma-gauge-chart>
                  

                  Developer at Radix IoT

                  L 1 Reply Last reply Reply Quote 1
                  • L
                    leoboeng @Jared Wiltshire
                    last edited by

                    @jared-wiltshire Yes I'm getting a little bit into this JavaScript / AngularJS issue but I've been learning as the problems come up. I tried some other solutions but none worked. I will restore the backup and wait for this new version. I thank the help of all you.

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

                      Sorry I was unable to give you the solution you needed. Thanks for your help Jared.

                      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
                      • Jared WiltshireJ
                        Jared Wiltshire
                        last edited by

                        @leoboeng The new UI module has been released.

                        Developer at Radix IoT

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