From 806b282e8f55f886bfd38e5f926a5f0f825e6d91 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 10 Oct 2017 18:48:58 +0200 Subject: [PATCH] Fix resize sla graphs in visual console - #1334 --- pandora_console/include/graphs/functions_flot.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php index 319e69cab0..7e30d49215 100644 --- a/pandora_console/include/graphs/functions_flot.php +++ b/pandora_console/include/graphs/functions_flot.php @@ -866,9 +866,7 @@ function flot_slicesbar_graph ($graph_data, $period, $width, $height, $legend, $ global $config; include_javascript_dependencies_flot_graph(); - - $height+= 20; - + $stacked_str = 'stack: stack,'; // Get a unique identifier to graph @@ -876,10 +874,10 @@ function flot_slicesbar_graph ($graph_data, $period, $width, $height, $legend, $ // Set some containers to legend, graph, timestamp tooltip, etc. if ($stat_win) { - $return = "
"; + $return = "
"; } else { - $return = "
"; + $return = "
"; } $return .= "";