[Rt-commit] rt branch, 4.0/remove-duplidated-chart-color, created. rt-4.0.2-190-gde3e8d5

? sunnavy sunnavy at bestpractical.com
Wed Oct 26 05:11:59 EDT 2011


The branch, 4.0/remove-duplidated-chart-color has been created
        at  de3e8d5cb267053b9dbd771f5f51aad7958b0c13 (commit)

- Log -----------------------------------------------------------------
commit de3e8d5cb267053b9dbd771f5f51aad7958b0c13
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Oct 26 16:15:25 2011 +0800

    it's not necessary or useful to duplicate color in color scheme
    
    it seems very weird and wrong even for me, the original author.

diff --git a/share/html/Search/Chart b/share/html/Search/Chart
index cf56c24..a4afd06 100644
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
@@ -169,8 +169,7 @@ if ($chart_class eq "GD::Graph::bars") {
 # refine values' colors, with both Color::Scheme's help and my own tweak
 $chart->{dclrs} = [
     '66cc66', 'ff6666', 'ffcc66', '663399',
-    '3333cc', 
-    '339933', '993333', '996633', '663399',
+    '3333cc', '339933', '993333', '996633', 
     '33cc33', 'cc3333', 'cc9933', '6633cc'
 ];
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list