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
pull/1/head
olau@iola.dk 16 years ago
parent e4aaacc6b3
commit 56bd76f19c

@ -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;

Loading…
Cancel
Save