[Reconnoiter-devel] [reconnoiter commit] r782 - trunk/ui/web/htdocs/js

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Thu Jul 9 13:01:44 EDT 2009


Author: umar
Date: 2009-07-09 13:01:43 -0400 (Thu, 09 Jul 2009)
New Revision: 782

Modified:
   trunk/ui/web/htdocs/js/jquery.flot.js
Log:
fixing a stacking bug that kept stacked data from being subjected to display expressions

Modified: trunk/ui/web/htdocs/js/jquery.flot.js
===================================================================
--- trunk/ui/web/htdocs/js/jquery.flot.js	2009-07-08 19:36:40 UTC (rev 781)
+++ trunk/ui/web/htdocs/js/jquery.flot.js	2009-07-09 17:01:43 UTC (rev 782)
@@ -1247,6 +1247,14 @@
 
             function plotLineArea(data, axisx, axisy, dataManip, b_series) {
 
+		//display manipulation of data is not done until we get here, so we
+		//need to call dataManip on b_series, like we do for series below
+		if(b_series && dataManip) {
+		    for(var i=0; i<b_series.data.length; i++) {
+			b_series.data[i][1] = dataManip(b_series.data[i][1]);
+		    }
+		}
+
                 var prev, cur = null;
 		var bprev, bcur = null;
 



More information about the Reconnoiter-devel mailing list