[Vtigercrm-commits] [vtiger-commits] r3946 - /vtigercrm/branches/4.2/modules/Potentials/Charts.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Feb 27 01:17:57 EST 2006


Author: mfedyk
Date: Sun Feb 26 23:17:55 2006
New Revision: 3946

Log:
Fix Graphs Labels Not Dispalyed Properly, by briand. closes #36

Modified:
    vtigercrm/branches/4.2/modules/Potentials/Charts.php

Modified: vtigercrm/branches/4.2/modules/Potentials/Charts.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Potentials/Charts.php (original)
+++ vtigercrm/branches/4.2/modules/Potentials/Charts.php Sun Feb 26 23:17:55 2006
@@ -222,7 +222,7 @@
 				//$bplot->value->SetAlign('left','center');
 				$bplot[$index]->value->SetColor("white");
 				$bplot[$index]->value->SetFormat(getCurrencySymbol().'%d');
-				$bplot[$index]->SetValuePos('max');
+				$bplot[$index]->SetValuePos('center');
 
 				//set client side image map URL's
 				$bplot[$index]->SetCSIMTargets($aTargets[$stage],$aAlts[$stage]);
@@ -510,7 +510,7 @@
 				//$bplot->value->SetAlign('left','center');
 				$bplot[$index]->value->SetColor("white");
 				$bplot[$index]->value->SetFormat(getCurrencySymbol().'%d');
-				$bplot[$index]->SetValuePos('max');
+				$bplot[$index]->SetValuePos('center');
 
 				//set client side image map URL's
 				$bplot[$index]->SetCSIMTargets($aTargets[$stage],$aAlts[$stage]);
@@ -783,7 +783,7 @@
 				//$bplot->value->SetAlign('left','center');
 				$bplot[$index]->value->SetColor("white");
 				$bplot[$index]->value->SetFormat(getCurrencySymbol().'%d');
-				$bplot[$index]->SetValuePos('max');
+				$bplot[$index]->SetValuePos('center');
 
 				//set client side image map URL's
 				$bplot[$index]->SetCSIMTargets($aTargets[$the_id],$aAlts[$the_id]);





More information about the vtigercrm-commits mailing list