Bar chart widget does not correctly navigate between dates #3236
Description
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;
- Go to the Insights page, and navigate to a dashboard with a bar chart widget.
- Click on the 'next' arrow, navigating forwards, and after that navigate back a couple of times.
- 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
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
alexsmolya commentedon Aug 28, 2026
I'm working on this.