Commit 430b2315 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Accept NaN as null

parent 3203c882
...@@ -477,7 +477,7 @@ ...@@ -477,7 +477,7 @@
id: convertedId, id: convertedId,
id_org: id, id_org: id,
values: data.map(function (d) { values: data.map(function (d) {
return {x: d.x, value: d[id] !== null ? +d[id] : null, id: convertedId}; return {x: d.x, value: d[id] !== null && !isNaN(d[id]) ? +d[id] : null, id: convertedId};
}) })
}; };
}); });
......
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