mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Data precision... (Fixed a simple value)
This commit is contained in:
parent
3b7cad9654
commit
a2f9b85970
@ -551,7 +551,7 @@ function flot_custom_pie_chart ($flash_charts, $graph_values,
|
|||||||
else if ($value['value'] > 1000)
|
else if ($value['value'] > 1000)
|
||||||
$legendvalue = sprintf("%sK", number_format($value['value'] / 1000, $config['graph_precision']));
|
$legendvalue = sprintf("%sK", number_format($value['value'] / 1000, $config['graph_precision']));
|
||||||
else
|
else
|
||||||
$legendvalue = $value['value'];
|
$legendvalue = number_format($value['value'], $config['graph_precision']);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$legendvalue = __('No data');
|
$legendvalue = __('No data');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user