[Vtigercrm-commits] [vtiger-commits] r7424 - in /vtigercrm/trunk/modules/Dashboard: horizontal_bargraph.php pie_graph.php vertical_bargraph.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 22 03:43:54 EDT 2006


Author: saraj
Date: Thu Jun 22 01:43:50 2006
New Revision: 7424

Log:
delimiter has been changed from , to :: as , causes issue in graph

Modified:
    vtigercrm/trunk/modules/Dashboard/horizontal_bargraph.php
    vtigercrm/trunk/modules/Dashboard/pie_graph.php
    vtigercrm/trunk/modules/Dashboard/vertical_bargraph.php

Modified: vtigercrm/trunk/modules/Dashboard/horizontal_bargraph.php
==============================================================================
--- vtigercrm/trunk/modules/Dashboard/horizontal_bargraph.php (original)
+++ vtigercrm/trunk/modules/Dashboard/horizontal_bargraph.php Thu Jun 22 01:43:50 2006
@@ -27,12 +27,12 @@
 
 	global $log,$root_directory,$lang_crm,$theme;
 //We'll be getting the values in the form of a string separated by commas
-	$datay=explode(",",$referdata); // The datay values  
-	$datax=explode(",",$refer_code); // The datax values  
+	$datay=explode("::",$referdata); // The datay values  
+	$datax=explode("::",$refer_code); // The datax values  
 
 // The links values are given as string in the encoded form, here we are decoding it
 	$target_val=urldecode($target_val);
-	$target=explode(",",$target_val);
+	$target=explode("::",$target_val);
 
 	$alts=array();
 	$temp=array();

Modified: vtigercrm/trunk/modules/Dashboard/pie_graph.php
==============================================================================
--- vtigercrm/trunk/modules/Dashboard/pie_graph.php (original)
+++ vtigercrm/trunk/modules/Dashboard/pie_graph.php Thu Jun 22 01:43:50 2006
@@ -27,11 +27,11 @@
 
 	global $log,$root_directory,$lang_crm,$theme;
 	//We'll be getting the values in the form of a string separated by commas
-	$datay=explode(",",$referdata); // The datay values
-	$datax=explode(",",$refer_code); // The datax values
+	$datay=explode("::",$referdata); // The datay values
+	$datax=explode("::",$refer_code); // The datax values
 
 	$target_val=urldecode($target_val);
-	$target=explode(",",$target_val);
+	$target=explode("::",$target_val);
 
 	$alts=array();
 	for($i=0;$i<count($datax); $i++)

Modified: vtigercrm/trunk/modules/Dashboard/vertical_bargraph.php
==============================================================================
--- vtigercrm/trunk/modules/Dashboard/vertical_bargraph.php (original)
+++ vtigercrm/trunk/modules/Dashboard/vertical_bargraph.php Thu Jun 22 01:43:50 2006
@@ -27,12 +27,12 @@
 
 	global $log,$root_directory,$lang_crm,$theme;
 //We'll be getting the values in the form of a string separated by commas
-	$datay=explode(",",$referdata); // The datay values  
-	$datax=explode(",",$refer_code); // The datax values  
+	$datay=explode("::",$referdata); // The datay values  
+	$datax=explode("::",$refer_code); // The datax values  
 
 // The links values are given as string in the encoded form, here we are decoding it
 	$target_val=urldecode($target_val);
-	$target=explode(",",$target_val);
+	$target=explode("::",$target_val);
 
 	$alts=array();
 	$temp=array();





More information about the vtigercrm-commits mailing list