From 0414b4033e0b8c4172ed004f0d96440c783c869f Mon Sep 17 00:00:00 2001
From: "marcos.alconada" <marcos.alconada@artica.es>
Date: Mon, 19 Aug 2019 10:05:06 +0200
Subject: [PATCH] fixed visual error

---
 pandora_console/include/functions_graph.php           | 6 ++++--
 pandora_console/operation/events/event_statistics.php | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php
index d6ce0ba8af..d0e844c3bf 100644
--- a/pandora_console/include/functions_graph.php
+++ b/pandora_console/include/functions_graph.php
@@ -3252,7 +3252,7 @@ function graph_events_validated($width=300, $height=200, $extra_filters=[], $met
         $config['fontpath'],
         $config['font_size'],
         1,
-        false,
+        'bottom',
         $colors
     );
 }
@@ -3553,7 +3553,9 @@ function grafico_eventos_usuario($width, $height)
         '',
         $water_mark,
         $config['fontpath'],
-        $config['font_size']
+        $config['font_size'],
+        1,
+        'bottom'
     );
 }
 
diff --git a/pandora_console/operation/events/event_statistics.php b/pandora_console/operation/events/event_statistics.php
index a4a5b1632a..00dd1f4bc6 100644
--- a/pandora_console/operation/events/event_statistics.php
+++ b/pandora_console/operation/events/event_statistics.php
@@ -62,7 +62,7 @@ echo '<table width=95%>';
         echo '</td>';
 
         echo "<td valign='top'>";
-            echo grafico_eventos_usuario(320, 296);
+            echo grafico_eventos_usuario(320, 280);
         echo '</td>';
     echo '</tr>';
 
@@ -83,7 +83,7 @@ if (!users_is_admin()) {
 
     echo '<tr>';
         echo "<td valign='top'>";
-            echo grafico_eventos_grupo(300, 200, $where);
+            echo grafico_eventos_grupo(300, 250, $where);
         echo '</td>';
 
         echo "<td valign='top'>";
@@ -101,7 +101,7 @@ if (!users_is_admin()) {
     ];
 }
 
-            echo graph_events_validated(320, 296, $extra_filter);
+            echo graph_events_validated(320, 250, $extra_filter);
         echo '</td>';
     echo '</tr>';