From bedc7d1f5b95be574205a7afdeb38e4660e7d8b5 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 12 Mar 2015 17:21:03 +0530 Subject: [PATCH] Remove unused chart colors Signed-off-by: Madhura Jayaratne --- themes/original/layout.inc.php | 24 ------------------------ themes/pmahomme/layout.inc.php | 25 ------------------------- 2 files changed, 49 deletions(-) diff --git a/themes/original/layout.inc.php b/themes/original/layout.inc.php index b0f91ac037..c1a9f2be01 100644 --- a/themes/original/layout.inc.php +++ b/themes/original/layout.inc.php @@ -75,28 +75,4 @@ $GLOBALS['cfg']['BgOne'] = '#E5E5E5'; // table data row background, alternate $GLOBALS['cfg']['BgTwo'] = '#D5D5D5'; -/** - * Chart colors - */ - - $GLOBALS['cfg']['chartColor'] = array( - 'gradientIntensity' => 0, - // The style of the chart title. - 'titleColor' => '#000000', - 'titleBgColor' => $GLOBALS['cfg']['ThBackground'], - // Chart border (0 for no border) - 'border' => '#CCCCCC', - // Chart background color. - 'bgColor' => $GLOBALS['cfg']['BgTwo'], - // when graph area gradient is used, this is the color of the graph - // area border - 'graphAreaColor' => '#D5D9DD', - // the background color of the inner graph area - 'graphAreaGradientColor' => $GLOBALS['cfg']['BgOne'], - // the color of the grid lines in the graph area - 'gridColor' => '#E6E6E6', - // the color of the scale and the labels - 'scaleColor' => '#D5D9DD', - ); - ?> diff --git a/themes/pmahomme/layout.inc.php b/themes/pmahomme/layout.inc.php index 2822b678c7..e43eb87164 100644 --- a/themes/pmahomme/layout.inc.php +++ b/themes/pmahomme/layout.inc.php @@ -76,29 +76,4 @@ $GLOBALS['cfg']['BgOne'] = '#E5E5E5'; // table data row background, alternate $GLOBALS['cfg']['BgTwo'] = '#D5D5D5'; -/** - * Chart colors - */ - - $GLOBALS['cfg']['chartColor'] = array( - 'gradientIntensity' => 50, - // The style of the chart title. - 'titleColor' => '#000', - 'titleBgColor' => '#E5E5E5', - // Chart border (0 for no border) - 'border' => '#ccc', - // Chart background color. - 'bgColor' => '#FBFBFB', - // when graph area gradient is used, this is the color of the graph - // area border - 'graphAreaColor' => '#D5D9DD', - // the background color of the graph area - 'graphAreaGradientColor' => $GLOBALS['cfg']['BgTwo'], - // the color of the grid lines in the graph area - 'gridColor' => '#E6E6E6', - // the color of the scale and the labels - 'scaleColor' => '#D5D9DD', - - ); - ?>