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(
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
));
}
}
}
}