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.
Chart legend show "serie 1" "serie 2" instead of data name
-
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 ?
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,
-
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>
-
thanks a lot ! I was missing that !