Skip to content

Bar chart widget does not correctly navigate between dates #3236

Description

@MartinaeyNL

Bug description

I encounter multiple issues when navigating between dates in the bar chart of the Manager UI.
When the interval is different than the default, navigating changes the timeframe from 24hrs to 23hrs + X mins.
But this also seems to happen when navigating dates without changing the interval.

Along with that, the data ends up malformed within the bar chart, and sometimes invisible.
See the two examples below coming from a production instance of OpenRemote below.

To Reproduce

Warning: I have not attempted to reproduce this using a fresh installation of OpenRemote.
However, these were the steps necessary for that project I encountered it on;

  1. Go to the Insights page, and navigate to a dashboard with a bar chart widget.
  2. Click on the 'next' arrow, navigating forwards, and after that navigate back a couple of times.
  3. See error

Expected behavior

  • Navigating back and forth should respect the original window, for example 24 hours.
  • Navigating should not cause the data to be malformed and/or invisible in the chart.

Screenshots / videos

Image

Device information:

  • OS: Windows
  • Browser Chromium
  • On version v1.26.1 of OpenRemote

Additional context / developer info

I think it might have to do with the "correction" the frontend does when invalid dates are entered.
For example, when the timeframe is 24 hours, and navigating forwards calculates a timeframe of 24 hours and 1 minute, it resets.
Not sure whether it is related, but this bug is definitely worth looking into.

Activity

  1. added theissue type on Aug 28, 2026
  2. alexsmolya commented on Aug 28, 2026

    @alexsmolya

    I'm working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugError or issue in the system

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions