From b1c77ea5098d9db339844e0ae923f141c68b9332 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 7 Mar 2014 23:24:41 +0000 Subject: [PATCH] Chart colors should fix layout / monitoring state colors --- .../application/controllers/ChartController.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/monitoring/application/controllers/ChartController.php b/modules/monitoring/application/controllers/ChartController.php index a97c53e31..d17fc448d 100644 --- a/modules/monitoring/application/controllers/ChartController.php +++ b/modules/monitoring/application/controllers/ChartController.php @@ -195,25 +195,25 @@ class Monitoring_ChartController extends ActionController $this->view->chart->drawBars( array( 'label' => 'Ok', - 'color' => '#00ff00', + 'color' => '#44bb77', 'stack' => 'stack1', 'data' => $okBars ), array( 'label' => 'Warning', - 'color' => 'ffff00', + 'color' => '#ffaa44', 'stack' => 'stack1', 'data' => $warningBars ), array( 'label' => 'Critical', - 'color' => '#ff0000', + 'color' => '#ff5566', 'stack' => 'stack1', 'data' => $critBars ), array( 'label' => 'Unknown', - 'color' => '#E066FF', + 'color' => '#dd66ff', 'stack' => 'stack1', 'data' => $unknownBars ) @@ -236,19 +236,19 @@ class Monitoring_ChartController extends ActionController $this->view->chart->drawBars( array( 'label' => 'Up', - 'color' => '#00ff00', + 'color' => '#44bb77', 'stack' => 'stack1', 'data' => $upBars ), array( 'label' => 'Down', - 'color' => '#ff0000', + 'color' => '#ff5566', 'stack' => 'stack1', 'data' => $downBars ), array( 'label' => 'Unreachable', - 'color' => '#E066FF', + 'color' => '#dd66ff', 'stack' => 'stack1', 'data' => $unreachableBars ) @@ -303,4 +303,4 @@ class Monitoring_ChartController extends ActionController )); } } -} \ No newline at end of file +}