From 56bd76f19cd6840216af233520c059dbda0be7dc Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Mon, 13 Dec 2010 16:14:55 +0000 Subject: [PATCH] Fix bug with parsing data for plugins that have single point data elements (patch by vpapp1) git-svn-id: https://flot.googlecode.com/svn/trunk@271 1e0a6537-2640-0410-bfb7-f154510ff394 --- jquery.flot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.js b/jquery.flot.js index 1c69f9d..9fdd45c 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -308,7 +308,7 @@ for (var i = 0; i < d.length; ++i) { var s = $.extend(true, {}, options.series); - if (d[i].data) { + if (d[i].data != null) { s.data = d[i].data; // move the data instead of deep-copy delete d[i].data;