From a2f9b85970250c855e02919f0d5013fce6f44be3 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 18 Oct 2016 16:48:57 +0200 Subject: [PATCH] Data precision... (Fixed a simple value) --- pandora_console/include/graphs/functions_flot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php index 0787fdca7d..d03e2c0837 100644 --- a/pandora_console/include/graphs/functions_flot.php +++ b/pandora_console/include/graphs/functions_flot.php @@ -551,7 +551,7 @@ function flot_custom_pie_chart ($flash_charts, $graph_values, else if ($value['value'] > 1000) $legendvalue = sprintf("%sK", number_format($value['value'] / 1000, $config['graph_precision'])); else - $legendvalue = $value['value']; + $legendvalue = number_format($value['value'], $config['graph_precision']); } else $legendvalue = __('No data');