Kemallyson / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Incorrect datapoints.format used in processData() #672

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the processData() function, the variable format is set in the first pass 
section, but reused in second pass without being re-assigned to the correct 
series.datapoints.format object. Here is the patch I used to resolve the issue:
diff -r 04ba1b45c760 static/flot/jquery.flot.js
--- a/static/flot/jquery.flot.js    Mon Feb 20 09:45:36 2012 -0600
+++ b/static/flot/jquery.flot.js    Wed Feb 22 11:38:23 2012 -0600
@@ -629,6 +629,7 @@
                 s = series[i];
                 points = s.datapoints.points,
                 ps = s.datapoints.pointsize;
+                format = s.datapoints.format;

                 var xmin = topSentry, ymin = topSentry,
                     xmax = bottomSentry, ymax = bottomSentry;

Original issue reported on code.google.com by m...@jasonmartens.com on 22 Feb 2012 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 8:52

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 8:58