Fix alert summary chart colors

This commit is contained in:
Matthias Jentsch 2014-11-19 11:23:28 +01:00
parent 2c143ff348
commit a2592f8d7b

View File

@ -433,7 +433,7 @@ class Monitoring_AlertsummaryController extends Controller
$gridChart->drawBars( $gridChart->drawBars(
array( array(
'label' => $this->translate('Notifications'), 'label' => $this->translate('Notifications'),
'color' => 'blue', 'color' => '#049baf',
'data' => $notifications, 'data' => $notifications,
'showPoints' => true 'showPoints' => true
) )
@ -442,7 +442,7 @@ class Monitoring_AlertsummaryController extends Controller
$gridChart->drawLines( $gridChart->drawLines(
array( array(
'label' => $this->translate('Avg (min)'), 'label' => $this->translate('Avg (min)'),
'color' => 'orange', 'color' => '#ffaa44',
'data' => $dAvg, 'data' => $dAvg,
'showPoints' => true 'showPoints' => true
) )
@ -451,7 +451,7 @@ class Monitoring_AlertsummaryController extends Controller
$gridChart->drawLines( $gridChart->drawLines(
array( array(
'label' => $this->translate('Max (min)'), 'label' => $this->translate('Max (min)'),
'color' => 'red', 'color' => '#ff5566',
'data' => $dMax, 'data' => $dMax,
'showPoints' => true 'showPoints' => true
) )
@ -478,7 +478,7 @@ class Monitoring_AlertsummaryController extends Controller
$gridChart->drawBars( $gridChart->drawBars(
array( array(
'label' => $this->translate('Notifications'), 'label' => $this->translate('Notifications'),
'color' => 'green', 'color' => '#049baf',
'data' => $this->notificationData, 'data' => $this->notificationData,
'showPoints' => true 'showPoints' => true
) )
@ -487,7 +487,7 @@ class Monitoring_AlertsummaryController extends Controller
$gridChart->drawLines( $gridChart->drawLines(
array( array(
'label' => $this->translate('Defects'), 'label' => $this->translate('Defects'),
'color' => 'red', 'color' => '#ff5566',
'data' => $this->problemData, 'data' => $this->problemData,
'showPoints' => true 'showPoints' => true
) )