Skip to content

Chart loses its contents when switching ui-page or reloading the page #1916

@Penlane

Description

@Penlane

Current Behavior

Chart data lost when switching ui-page or reloading the page.

Screen_1 shows the chart config
Image
Screen_2 shows the data
Image
Screen_3 shows how the charts look before I switch a page, after I populated the data
Image
Screen_4 shows how the charts look after I switch to a different page via hamburger menu and back
Image

Expected Behavior

Chart data is kept, just as for example gauge data, between page refreshes. Note I do not mean that the data should be kept across Node-RED restarts, just if you switch between individual pages or refresh the page with F5.

Steps To Reproduce

Create 2 ui-pages, one with charts. Populate the chart data, switch back and forth between the pages. The data is now gone and need to be repopulated.

Environment

  • Dashboard version: 1.29.0
  • Node-RED version: 4.1.1
  • Node.js version: Latest docker image 4.1.1
  • npm version: Latest docker image 4.1.1
  • Platform/OS: Latest docker image 4.1.1
  • Browser: Vivaldi & Firefox

Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageNeeds looking at to decide what to do

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions