After the last update to the latest version (went smooth, thanks a lot!) I noticed that graphs are not having an axis break, ie. they all show a full y-axis scale starting at 0 to the values measured. I remember vaguely that this was not the case before.
See below for an examples without and with axis break.
As you can see the axis break allows to clearly see what is going on. But that might be a personal opinion, so would it be hard to show graphs with axis break as an optional (global) configuration item?
No axis break example:
Same data with axis break:
Axis break in graphs Topic is solved
Moderators: leecollings, remb0
- waltervl
- Posts: 5788
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Axis break in graphs
I think this change has caused this https://github.com/domoticz/domoticz/co ... 83bd293822
You can play with the file www/app/log/RefreshingChart.js to change the behavior as you do not have to build anything.
You can play with the file www/app/log/RefreshingChart.js to change the behavior as you do not have to build anything.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 19
- Joined: Sunday 07 October 2018 17:21
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Bollenstreek
- Contact:
Re: Axis break in graphs
Thanks! Reverting line 85 in www/app/log/RefreshingChart.js returns the broken axis view again.
The change (git sha f0cff38a70) was added recently on May 25th by GizMoCuz with message: 'Default area graph type for most day charts'.
Not sure which problem this fixes?
It is using boolean flag `isShortLogChart` for CounterLogChart that has been in since 2020.
The change (git sha f0cff38a70) was added recently on May 25th by GizMoCuz with message: 'Default area graph type for most day charts'.
Not sure which problem this fixes?
It is using boolean flag `isShortLogChart` for CounterLogChart that has been in since 2020.
- gizmocuz
- Posts: 2504
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Axis break in graphs
Are you the same person who created a Github issue?
Maybe an idea to mention this forum thread there?
The idea was to make a area spline as it looks better, but it should NOT start at zero indeed.
Could you make a PR to fix this? (keeping the area spline type!)
Maybe an idea to mention this forum thread there?
The idea was to make a area spline as it looks better, but it should NOT start at zero indeed.
Could you make a PR to fix this? (keeping the area spline type!)
Quality outlives Quantity!
- gizmocuz
- Posts: 2504
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Axis break in graphs
I think I found the solution ...
Fixed in beta 16718
Code: Select all
threshold: null
Quality outlives Quantity!
- gizmocuz
- Posts: 2504
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Axis break in graphs
Ahh then this was found by multiple users.
Anyway, solved in the latest beta!
Anyway, solved in the latest beta!
Quality outlives Quantity!
-
- Posts: 19
- Joined: Sunday 07 October 2018 17:21
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Bollenstreek
- Contact:
Re: Axis break in graphs
Cool! Thanks for the swift fix!
Who is online
Users browsing this forum: No registered users and 1 guest