From f7699d3c558df104ca2d0f58f8efb05a3d72c5cc Mon Sep 17 00:00:00 2001
From: jsatoh <junichi@rworks.jp>
Date: Wed, 11 Jan 2012 04:47:05 +0000
Subject: [PATCH] 2012-01-11  Junichi Satoh  <junichi@rworks.jp>

	* mobile/operation/agents/view_agents.php: Fixed graph generation
	failure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                               | 5 +++++
 pandora_console/mobile/operation/agents/view_agents.php | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 30891893a1..ce839040a0 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-11  Junichi Satoh  <junichi@rworks.jp>
+
+	* mobile/operation/agents/view_agents.php: Fixed graph generation
+	failure.
+
 2012-01-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
 
 	* include/functions_api.php: Added new functions 
diff --git a/pandora_console/mobile/operation/agents/view_agents.php b/pandora_console/mobile/operation/agents/view_agents.php
index 948b0e472d..dee699326b 100644
--- a/pandora_console/mobile/operation/agents/view_agents.php
+++ b/pandora_console/mobile/operation/agents/view_agents.php
@@ -410,8 +410,8 @@ class viewGraph {
 		echo "<h3 class='title_h3'>" . __('Graph') . "</h3>";
 
 		echo grafico_modulo_sparse($this->idAgentModule, $this->period, 0, 240,
-			120, io_safe_output($this->agentModule['nombre']), null, true,
-			0, true, 0, true, true, true, true);
+			200, io_safe_output($this->agentModule['nombre']), null, false,
+			false, true, 0, '', true, false, true, true, '../');
 		
 		echo "<h3 class='title_h3'>" . __('Data') . "</h3>";