diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php
index 7524fc119e..35c7958916 100644
--- a/pandora_console/include/graphs/functions_flot.php
+++ b/pandora_console/include/graphs/functions_flot.php
@@ -414,7 +414,7 @@ function flot_pie_chart ($values, $labels, $width, $height, $water_mark,
$return .= "pandoraFlotPie('$graph_id', '$values', '$labels',
'$series', '$width', $font_size, $water_mark, '$separator',
'$legend_position', '$height', '$colors', " . json_encode($hide_labels) . ")";
-
+ $return .= "});";
$return .= "";
return $return;
@@ -474,11 +474,11 @@ function flot_custom_pie_chart ($graph_values,
$colors = implode($separator, $temp_colors);
$return .= "";
return $return;
@@ -575,10 +575,10 @@ function flot_hcolumn_chart ($graph_data, $width, $height, $water_mark, $font =
// Javascript code
$return .= "";
return $return;
@@ -666,7 +666,7 @@ function flot_vcolumn_chart ($graph_data, $width, $height, $color, $legend, $lon
// Javascript code
$return .= "";
return $return;
@@ -841,7 +841,9 @@ function flot_slicesbar_graph (
// Javascript code
$return .= "";