diff --git a/library/Icinga/Chart/Donut.php b/library/Icinga/Chart/Donut.php index 8e6c58920..d509a3356 100644 --- a/library/Icinga/Chart/Donut.php +++ b/library/Icinga/Chart/Donut.php @@ -366,7 +366,7 @@ class Donut protected function shortenLabel($label) { if (is_numeric($label) && strlen($label) > 3) { - return '~' . substr(round($label, -3), 0, 1) . 'k'; + return round($label, -3)/1000 . 'k'; } return $label;