From ce43094d182bac66f4ab0958176b7f8d04ba9d1a Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 6 Jun 2016 16:57:28 +0200 Subject: [PATCH] Improved the area graphs visualization --- pandora_console/include/graphs/functions_pchart.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_console/include/graphs/functions_pchart.php b/pandora_console/include/graphs/functions_pchart.php index 6432b9895f..9312c917ad 100644 --- a/pandora_console/include/graphs/functions_pchart.php +++ b/pandora_console/include/graphs/functions_pchart.php @@ -684,7 +684,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, "BorderG" => $rgb_color[$i]['border']["G"], "BorderB" => $rgb_color[$i]['border']["B"], "Alpha" => $rgb_color[$i]['alpha'])); - + /*$palette_color = array(); if (isset($rgb_color[$i]['color'])) { $palette_color["R"] = $rgb_color[$i]['color']["R"]; @@ -859,8 +859,11 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, "GridR" => 200, "GridG" => 200, "GridB" => 200, - "DrawSubTicks" => TRUE, - "CycleBackground" => TRUE, + "GridAlpha" => 30, + "DrawSubTicks" => true, + "CycleBackground" => true, + "BackgroundAlpha1" => 35, + "BackgroundAlpha2" => 35, "Mode" => $mode, "ManualScale" => $ManualScale, "LabelRotation" => 40, @@ -885,7 +888,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, $ForceTransparency = "-1"; break; default: - $ForceTransparency = "50"; + $ForceTransparency = "100"; break; }