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 !