• 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

    How to draw a gauge for only one data point.

    User help
    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.
    • J
      jefero
      last edited by

      Hello.

      You helped me to draw a chart for only one data point, setting the "point-xid" in the "<ma-point-values>", but this doesn't work for the gauges.
      I set the point-xid in the "<ma-get-point-value>" of my gauge but my gauge is always in the zero position.
      How can I configure my gauge to show the value of one specific data point using the point-xid?
      Here is my code:

      <ma-get-point-value point-xid="DP_demo_adevice_temp" value="value1"></ma-get-point-value>
      <ma-gauge-chart value="value1" start="-10" band-1-end="10" band-1-color="blue" band-2-end="30" band-2-color="yellow" band-3-end="40" style="width:100%; height:200px"></ma-gauge-chart>
      

      Thanks.

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi jefero,

        Have you looked at the guage examples in the Custom Dashboard module? It would be in Custom Dashboards --> Examples menu --> Single value displays --> Guages

        Specifically you need to us the 'point' attribute instead of 'value' so,

        <ma-get-point-value point-xid="DP_demo_adevice_temp" point="value1"></ma-get-point-value>
        <ma-gauge-chart point="value1" start="-10" band-1-end="10" band-1-color="blue" band-2-end="30" band-2-color="yellow" band-3-end="40" style="width:100%; height:200px"></ma-gauge-chart>
        1 Reply Last reply Reply Quote 0
        • J
          jefero
          last edited by

          Thanks phildunlap.

          That solved my problem.

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