The branch, master has been updated via de9dc78749c62596096450bcad6b3f7bf9e39526 (commit) from e92a04a2a4c815c2aea8a103920b7390d744532e (commit)
- Log ----------------------------------------------------------------- commit de9dc78749c62596096450bcad6b3f7bf9e39526 Author: Michal Čihař michal@cihar.com Date: Thu May 5 10:22:05 2011 +0200
Add chart colors
-----------------------------------------------------------------------
Summary of changes: darkblue_orange/layout.inc.php | 25 +++++++++++++++++++++++++ graphite/layout.inc.php | 25 +++++++++++++++++++++++++ toba/layout.inc.php | 25 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/darkblue_orange/layout.inc.php b/darkblue_orange/layout.inc.php index 6c389f1..105c436 100644 --- a/darkblue_orange/layout.inc.php +++ b/darkblue_orange/layout.inc.php @@ -116,4 +116,29 @@ $GLOBALS['cfg']['SQP']['fmtColor'] = array( 'quote_single' => '', 'quote_backtick' => '' ); + +/** + * 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/graphite/layout.inc.php b/graphite/layout.inc.php index b759da3..bf1a633 100644 --- a/graphite/layout.inc.php +++ b/graphite/layout.inc.php @@ -110,4 +110,29 @@ $GLOBALS['cfg']['SQP']['fmtColor'] = array( 'quote_single' => '', 'quote_backtick' => '' ); + +/** + * 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/toba/layout.inc.php b/toba/layout.inc.php index 984f67c..78f53cc 100644 --- a/toba/layout.inc.php +++ b/toba/layout.inc.php @@ -157,4 +157,29 @@ $GLOBALS['cfg']['SQP']['fmtColor'] = array( 'quote_single' => '', 'quote_backtick' => '' ); + +/** + * 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', + ); + ?>
hooks/post-receive