From da0eab5b58c4f96626ba55e7a08ab4008769a2e0 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 20 Apr 2011 11:11:57 +0000 Subject: [PATCH] 2011-04-20 Miguel de Dios * include/functions_graph.php: fixed duplicated function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/include/functions_graph.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e9f4e7cd16..8c64880ed5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -2,6 +2,10 @@ * include/functions_graph.php: fixed duplicated function. +2011-04-20 Miguel de Dios + + * include/functions_graph.php: fixed duplicated function. + 2011-04-20 Miguel de Dios * images/logo_vertical_water.png: added water mark for the graphs. diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 3c234f11f2..74bc981765 100755 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1422,11 +1422,11 @@ function fs_agent_event_chart2 ($data, $width, $height, $step = 1) { $chart->setChartParams('numDivLines=0;numVDivLines=0;showNames=1;rotateNames=0;showValues=0;baseFontSize=9;showLimits=0;showAreaBorder=0;areaBorderThickness=1;canvasBgColor=9ABD18'); // Return the code - return get_chart_code ($chart, $width, $height, 'include/FusionCharts/FCF_Area2D.swf'); + return get_chart_code2 ($chart, $width, $height, 'include/FusionCharts/FCF_Area2D.swf'); } // Returns the code needed to display the chart -function get_chart_code ($chart, $width, $height, $swf) { +function get_chart_code2 ($chart, $width, $height, $swf) { $random_number = rand (); $div_id = 'chart_div_' . $random_number; $chart_id = 'chart_' . $random_number;