Commit 56bd76f1 authored by olau@iola.dk's avatar olau@iola.dk

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
parent e4aaacc6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment