• 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

    Chart legend show "serie 1" "serie 2" instead of data name

    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.
    • philgdepP
      philgdep
      last edited by

      Good day,

      Certainly a dumb question but my chart legend doesn't show the right name and put "serie 1" and "serie 2" instead. Is there any option to put the right name ?

      0_1490873957903_Screen Shot 2017-03-30 at 13.38.20.png

      Here is the code;

          <md-card flex>
              <md-card-content>
                  <ma-point-values point-xid="InTemp" values="tempValues" from="from" to="to" rollup="AVERAGE" rollup-interval="1 minutes">Temperature</ma-point-values>
                  <ma-point-values point-xid="OutTemp" values="otempValues" from="from" to="to" rollup="AVERAGE" rollup-interval="1 minutes"></ma-point-values>
                  <ma-serial-chart style="height:440px; width: 100%" series-1-values="tempValues" series-1-color="green" series-2-values="otempValues" series-2-color="orange" legend="true"></ma-serial-chart>
      
              </md-card-content>
          </md-card>
      

      Best regards,

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

        Hi philgdep,

        I think there's a couple of properties missing, point="" in both ma-point-values and series-1-point="" (and 2) in the serial chart. Something like....

            <md-card flex>
                <md-card-content>
                    <ma-point-values point-xid="InTemp" point="iTemp" values="tempValues" from="from" to="to" rollup="AVERAGE" rollup-interval="1 minutes">Temperature</ma-point-values>
                    <ma-point-values point-xid="OutTemp" point="oTemp" values="otempValues" from="from" to="to" rollup="AVERAGE" rollup-interval="1 minutes"></ma-point-values>
                    <ma-serial-chart style="height:440px; width: 100%" series-1-values="tempValues" series-1-color="green" series-1-point="iTemp" series-2-values="otempValues" series-2-color="orange" series-2-point="oTemp" legend="true"></ma-serial-chart>
                </md-card-content>
            </md-card>
        
        1 Reply Last reply Reply Quote 0
        • philgdepP
          philgdep
          last edited by

          thanks a lot ! I was missing that !

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