-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charts is doing strange interpolation if period M or longer is choosen #3025
Comments
Charts for sitemap UIs are generated by the core framework. So it should not be specific to Basic UI. |
The last change of version for XChart (3.1.0) was in OH 3.2. So no recent changes. |
I see that problem is already in OH 4.1.0 and you are right problem seems to be in core framework. I guess problem came up when new sitemap chart period parameter were introduced: openhab/openhab-core@f71ebfb If I generated the chart using period 'M' If I use period '30D' But if I used '31D' it's bad again. @lolodomo Can this issue be moved to core repo or do I have to recreate there? |
I have no rights to do that. |
Me neither as I'm no webui maintainer. 😉 |
Which UI are you reporting an issue for?
The problem
Just upgraded my openhab from 4.0.4 to 4.3.2 and now some charts are looking strange. I’m using Chart in BasicUI sitemap:
E.g. I have a chart showing the daily gas consumption of the last month. Values are from rrd4j. Every night the value is updated with the consumption of the previous day.
Chart item=Consum_Gas24h period=M refresh=300000
The chart for one month (period=M) now looks like this, somehow it is interpolating:
Expected behavior
If I switch the chart period to show the values of the past two weeks only chart looks as it was in the older openhab versions and in my eyes it is correctly displayed:
Steps to reproduce
Your environment
The text was updated successfully, but these errors were encountered: