2011-04-20 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2011-04-20 11:11:57 +00:00
parent d943cee966
commit da0eab5b58
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,10 @@
* include/functions_graph.php: fixed duplicated function. * include/functions_graph.php: fixed duplicated function.
2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed duplicated function.
2011-04-20 Miguel de Dios <miguel.dedios@artica.es> 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* images/logo_vertical_water.png: added water mark for the graphs. * images/logo_vertical_water.png: added water mark for the graphs.

View File

@ -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'); $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 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 // 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 (); $random_number = rand ();
$div_id = 'chart_div_' . $random_number; $div_id = 'chart_div_' . $random_number;
$chart_id = 'chart_' . $random_number; $chart_id = 'chart_' . $random_number;