We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9305d1a commit 55eff6eCopy full SHA for 55eff6e
nodes/ui_chart.js
@@ -72,6 +72,8 @@ module.exports = function(RED) {
72
return converted;
73
}
74
if (value[0].hasOwnProperty("series") && value[0].hasOwnProperty("data")) {
75
+ if (!Array.isArray(value[0].series)) { node.error("series not array",msg); return; }
76
+ if (!Array.isArray(value[0].data)) { node.error("Data not array",msg); return; }
77
var flag = true;
78
for (var dd = 0; dd < value[0].data.length; dd++ ) {
79
if (!isNaN(value[0].data[dd][0])) { flag = false; }
0 commit comments