[Console > Module area graph] Now the value shown into the legend has 2 decimals instead of 1

This commit is contained in:
Alejandro Gallardo Escobar 2017-11-27 12:31:40 +01:00
parent b431f4afd3
commit b26c46a7c6
1 changed files with 1 additions and 1 deletions

View File

@ -1781,7 +1781,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
// The graphs of points type and unknown graphs will dont be updated
if (serie_types[i] != 'points' && series.label != $('#hidden-unknown_text').val()) {
$('#legend_' + graph_id + ' .legendLabel')
.eq(i).html(label_aux + '= ' + parseFloat(y).toFixed(precision_graph) + how_bigger + ' ' + unit);
.eq(i).html(label_aux + '= ' + parseFloat(y).toFixed(2) + how_bigger + ' ' + unit);
}
$('#legend_' + graph_id + ' .legendLabel')