[Vtigercrm-commits] [vtiger-commits] r10209 - in /vtigercrm/branches/5.0.3/modules/Dashboard: accumulated_bargraph.php horizontal_bargraph.php line_graph.php pie_graph.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 20 09:16:01 EST 2007


Author: saraj
Date: Tue Feb 20 07:15:54 2007
New Revision: 10209

Log:
color changed

Modified:
    vtigercrm/branches/5.0.3/modules/Dashboard/accumulated_bargraph.php
    vtigercrm/branches/5.0.3/modules/Dashboard/horizontal_bargraph.php
    vtigercrm/branches/5.0.3/modules/Dashboard/line_graph.php
    vtigercrm/branches/5.0.3/modules/Dashboard/pie_graph.php

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/accumulated_bargraph.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/accumulated_bargraph.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/accumulated_bargraph.php Tue Feb 20 07:15:54 2007
@@ -32,8 +32,9 @@
 
 
 
-
-$color_array=array("#FF8B8B","#8BFF8B","#A8A8FF","#FFFF6E","#C5FFFF","#FFA8FF","#FFE28B","lightpink","burlywood2","cadetblue");
+$color_array=array("#FFD0C7","#C9F7C9","#C2C3EF","#F7F7C1","#28D6D7","#E7BCE7","#DFD8C3","lightpink","burlywood2","cadetblu
+e");
+#$color_array=array("#FF8B8B","#8BFF8B","#A8A8FF","#FFFF6E","#C5FFFF","#FFA8FF","#FFE28B","lightpink","burlywood2","cadetblue");
 
 // Create the graph. These two calls are always required
 $graph = new Graph($width,$height,"auto");    

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/horizontal_bargraph.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/horizontal_bargraph.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/horizontal_bargraph.php Tue Feb 20 07:15:54 2007
@@ -142,7 +142,8 @@
 	//$bplot->value->SetFormat('%d');
 
 	//$graph->SetBackgroundGradient('#E5E5E5','white',GRAD_VER,BGRAD_PLOT);
-	$bplot->setBackground(Image_Graph::factory('gradient', array(IMAGE_GRAPH_GRAD_HORIZONTAL, 'white', '#E5E5E5')));
+	$bplot->setBackground(Image_Graph::factory('gradient', array(IMAGE_GRAPH_GRAD_HORIZONTAL, '#7a8fee', '#E5E5E5')));
+	//$bplot->setBackground(Image_Graph::factory('gradient', array(IMAGE_GRAPH_GRAD_HORIZONTAL, 'white', '#E5E5E5')));
 	//$bplot->SetFillGradient("navy","lightsteelblue",GRAD_MIDVER);
 
 	//$graph->SetFrame(false);
@@ -169,7 +170,7 @@
 	$gridY =& $plotarea->addNew('line_grid', IMAGE_GRAPH_AXIS_Y);
 	$gridY->setLineColor('#E5E5E5 at 0.5');
 	$gridY2 =& $plotarea->addNew('bar_grid', null, IMAGE_GRAPH_AXIS_Y); 
-	$gridY2->setFillColor('#66CDAA at 0.2'); 
+	$gridY2->setFillColor('#dadada at 0.2');
 
 
 	// Add some grace to y-axis so the bars doesn't go

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/line_graph.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/line_graph.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/line_graph.php Tue Feb 20 07:15:54 2007
@@ -89,8 +89,10 @@
 $graph->legend->Pos(0,0.4,"right","center");
 
 // Set some other color then the boring default
-$graph->SetColor("#CCDFCC");
-$graph->SetMarginColor("#98C098");
+$graph->SetColor("#6F96FF");
+//$graph->SetColor("#CCDFCC");
+$graph->SetMarginColor("#2447A7");
+//$graph->SetMarginColor("#98C098");
 $graph->xaxis->SetTickLabels($datax);
 $graph->xaxis->SetLabelAngle(90);
 

Modified: vtigercrm/branches/5.0.3/modules/Dashboard/pie_graph.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Dashboard/pie_graph.php (original)
+++ vtigercrm/branches/5.0.3/modules/Dashboard/pie_graph.php Tue Feb 20 07:15:54 2007
@@ -75,7 +75,7 @@
 	);   
 
 	// Generate colours
-	$colors = color_generator(count($datay),'#33CCFF','#3322FF');
+	$colors = color_generator(count($datay),'#33DDFF','#3322FF');
 	$dataset = & Image_Graph::factory('dataset');
 	$fills =& Image_Graph::factory('Image_Graph_Fill_Array');
 	$sum = 0;





More information about the vtigercrm-commits mailing list