• 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

    Set min and max border lines on graph

    Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
    6 Posts 2 Posters 1.5k Views 2 Watching
    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.
    • MattFoxM Offline
      MattFox
      last edited by

      Hi I've got two virtual data points that are set to state the minimum and maximum values that a datapoint's value should be between. This is fine except for the fact that I wish to be able to illustrate this on a graph also.
      Has anyone done this or have any advice on how this can be implemented?

      Thanks

      Fox

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

        Are you talking about graphs on a custom page on the new UI?

        Developer at Radix IoT

        MattFoxM 1 Reply Last reply Reply Quote 0
        • MattFoxM Offline
          MattFox @Jared Wiltshire
          last edited by

          @jared-wiltshire Yes sorry for not explaining myself in a more concise manner. Basically, taking the latest datapoint from the virtual source and setting this as a horizontal line across the amchart graph. Hope that makes sense

          Fox

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

            @MattFox No worries. You can set the guides option for the chart.

            options="{guides: [{fillAlpha: 0, value: pointA.value, lineColor: 'red', lineAlpha:0.5 }, {fillAlpha: 0, value: pointB.value, lineColor: 'blue', lineAlpha:0.5 }]}"
            

            Developer at Radix IoT

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

              Never even thought of trying a guide! Thanks Jared I'll give it a go. Will let you know how it turns out.

              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
              • MattFoxM Offline
                MattFox
                last edited by

                Worked beautifully, thanks Jared!
                added the guide inside the first valueAxes object to assign them to the correct axis.

                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
                • First post
                  Last post