• 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 4 Documentation Website Mango 5 Documentation Website Radix IoT LinkedIn

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

    Scheduled Pinned Locked Moved Dashboard Designer & Custom AngularJS Pages
    3 Posts 2 Posters 2.1k 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.
    • philgdepP Offline
      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 Offline
        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 Offline
          philgdep
          last edited by

          thanks a lot ! I was missing that !

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post