FlowFuse / FlowFuse/node-red-dashboard

ui-chart: History does not load after node-red restart

Open
#1,352 17 comments 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

I have a ui-chart which gets with 2 different topics a value (Temp-SOLL & Temp-IST). The chart is running fine. After a while (a few hours) I did a restart of node-red for testing the new datastore in Dashboard 2.0.
After restart the graph was empty and startet with the next new value. No historical data.

The ui-chart is used in a subflow. The subflow is used 2 times.
Like described in https://dashboard.flowfuse.com/user/subflows.html#config-nodes

Is there a setting in settings.js? Perhaps I missed this setting while updating from Node-Red 1.x to current 4.0.3

### Expected Behavior

Getting historical data in an ui-chart after restart of node-red.

### Steps To Reproduce

Restarting of my node-red installation will "clean" the graph

### Environment

- Dashboard version: 1.17.1
- Node-RED version: 4.0.3
- Node.js version: 20.17.0
- npm version: 10.8.2
- Platform/OS: PI Bullseye (Upgrade von Buster)
- Browser: Chrome Version 129.0.6668.71 (Offizieller Build) (64-Bit)

### Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.