In DBv1 the output of the chart data was the same as the input (I would send it data for 4 lines). I just implemented DBv2 chart, and the output appears to be just one of the 4 values from the input. I don’t see anything with the chart node where I can adjust the output. Is there a way to output all for lines of data with DBv2 chart?
Not currently, no. If you want this in order to persist the chart over restarts then see Is there a way to have the data in the 2.0 chart node survive restarts? · Issue #1362 · FlowFuse/node-red-dashboard · GitHub
@Colin …. thanks for the reply and link. Gives me some hope this feature will be added in the future.
It’s also one on the things that really killed dashboard performance in the old dashboard as it had to hold a copy of all the data and manipulate it and send it back all the time… so don’t hold your breath.
I think there may be alternative strategies that would allow persistence, without sending all the data every time round.
Is this the same or different thing than the following eccentricity?
If you have both a line chart and a bar chart showing the same data (in replace mode, passing an array of datapoints):
When you reload the page, the line chart is cleared (annoyingly) but the bar chart is still populated:
I don't think that is related to this issue.