From 63ecdfe07e50e0cc233bf17190354e0b1dba8c49 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 18 Apr 2011 16:29:01 +0000 Subject: [PATCH] 2011-04-18 Miguel de Dios * include/graphs/pChart/pDraw.class.php: changed for show the some dark border with same color of area when the data config of graph haven't this values. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/graphs/pChart/pDraw.class.php | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 946f0de1bc..8c70f63392 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-04-18 Miguel de Dios + + * include/graphs/pChart/pDraw.class.php: changed for show the some dark + border with same color of area when the data config of graph haven't this + values. + 2011-04-18 Javier Lanz * include/functions_filemanager.php: Added a 'base64_encode' to deal with diff --git a/pandora_console/include/graphs/pChart/pDraw.class.php b/pandora_console/include/graphs/pChart/pDraw.class.php index baf64fd6e4..015aa68acb 100755 --- a/pandora_console/include/graphs/pChart/pDraw.class.php +++ b/pandora_console/include/graphs/pChart/pDraw.class.php @@ -3703,15 +3703,15 @@ if (isset($Serie["Color"]["BorderR"])) $BorderR = $Serie["Color"]["BorderR"]; else - $BorderR = $R; + $BorderR = $R / 1.5; //Set the same color for border, some dark. if (isset($Serie["Color"]["BorderG"])) $BorderG = $Serie["Color"]["BorderG"]; else - $BorderG = $G; + $BorderG = $G / 1.5; //Set the same color for border, some dark. if (isset($Serie["Color"]["BorderB"])) $BorderB = $Serie["Color"]["BorderB"]; else - $BorderB = $B; + $BorderB = $B / 1.5; //Set the same color for border, some dark. $Alpha = $Serie["Color"]["Alpha"]; $Ticks = $Serie["Ticks"]; if ( $DisplayColor == DISPLAY_AUTO ) { $DisplayR = $R; $DisplayG = $G; $DisplayB = $B; }