@flowfuse/node-red-dashboard 1.30.1-d27457e-202512202013.0 → 1.30.1-d74e2b2-202512211307.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -184,13 +184,10 @@ module.exports = function (RED) {
|
|
|
184
184
|
x = evaluateNodePropertyWithKey(node, msg, payload, config.xAxisProperty, config.xAxisPropertyType)
|
|
185
185
|
}
|
|
186
186
|
if (Array.isArray(series)) {
|
|
187
|
-
if
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
} else {
|
|
192
|
-
y = getProperty(payload, series[0])
|
|
193
|
-
}
|
|
187
|
+
// if the series is an array then y should be an array too, even if only of length 1
|
|
188
|
+
y = series.map((s) => {
|
|
189
|
+
return getProperty(payload, s)
|
|
190
|
+
})
|
|
194
191
|
} else {
|
|
195
192
|
if (config.categoryType === 'json') {
|
|
196
193
|
// we are using the "series" as a key to get the y value from the payload
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowfuse/node-red-dashboard",
|
|
3
|
-
"version": "1.30.1-
|
|
3
|
+
"version": "1.30.1-d74e2b2-202512211307.0",
|
|
4
4
|
"description": "FlowFuse Dashboard - A collection of Node-RED nodes that provide functionality to build your own UI applications (inc. forms, buttons, charts).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node-red"
|