Chart colors should fix layout / monitoring state colors

This commit is contained in:
Thomas Gelf 2014-03-07 23:24:41 +00:00
parent 30c03b5f23
commit b1c77ea509
1 changed files with 8 additions and 8 deletions

View File

@ -195,25 +195,25 @@ class Monitoring_ChartController extends ActionController
$this->view->chart->drawBars( $this->view->chart->drawBars(
array( array(
'label' => 'Ok', 'label' => 'Ok',
'color' => '#00ff00', 'color' => '#44bb77',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $okBars 'data' => $okBars
), ),
array( array(
'label' => 'Warning', 'label' => 'Warning',
'color' => 'ffff00', 'color' => '#ffaa44',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $warningBars 'data' => $warningBars
), ),
array( array(
'label' => 'Critical', 'label' => 'Critical',
'color' => '#ff0000', 'color' => '#ff5566',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $critBars 'data' => $critBars
), ),
array( array(
'label' => 'Unknown', 'label' => 'Unknown',
'color' => '#E066FF', 'color' => '#dd66ff',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $unknownBars 'data' => $unknownBars
) )
@ -236,19 +236,19 @@ class Monitoring_ChartController extends ActionController
$this->view->chart->drawBars( $this->view->chart->drawBars(
array( array(
'label' => 'Up', 'label' => 'Up',
'color' => '#00ff00', 'color' => '#44bb77',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $upBars 'data' => $upBars
), ),
array( array(
'label' => 'Down', 'label' => 'Down',
'color' => '#ff0000', 'color' => '#ff5566',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $downBars 'data' => $downBars
), ),
array( array(
'label' => 'Unreachable', 'label' => 'Unreachable',
'color' => '#E066FF', 'color' => '#dd66ff',
'stack' => 'stack1', 'stack' => 'stack1',
'data' => $unreachableBars 'data' => $unreachableBars
) )