diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index b08267d2bf..64e7ed2063 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -3509,7 +3509,7 @@ function graph_custom_sql_graph( } if ((int) $ttl === 2) { - $options['dataLabel'] = ['display' => 'auto']; + $options['dataLabel'] = ['display' => true]; if ($layout !== false && is_array($layout) === true) { $options['layout'] = $layout; diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index aa2567952b..13a21f3fb0 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -6692,6 +6692,7 @@ function reporting_sql_graph( switch ($type_sql_graph) { case 'sql_graph_hbar': default: + $layout = ['padding' => ['right' => '40']]; $return['type'] = 'sql_graph_hbar'; break;