Improve scaling of graphs.
Moderators: leecollings, remb0
-
- Posts: 12
- Joined: Sunday 26 November 2017 12:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Improve scaling of graphs.
My temperature history graph has a minimum of -6 degrees and a maximum of 43 degrees. The temperature scale goes from -60 to 60 degrees. So it's a range of 120 degrees while only 50 degrees is needed. Graphs are very flat this way. Maybe round the top and bottom to 10 degrees, so in my case let the scale go from -10 to 50 degrees.
- Antori91
- Posts: 136
- Joined: Sunday 12 February 2017 17:12
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Improve scaling of graphs.
+1
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Improve scaling of graphs.
i tried doing something abut this a couple of years ago but the framework for the graphs was a bit buggy and didn't allow for better combined ranges for temp and humidity ins the same graph. maybe the graph framework have been updated since then?
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Improve scaling of graphs.
I think we can assign a min and max value to the graph like is done for the voltage graph for example...
Quality outlives Quantity!
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Improve scaling of graphs.
Okey, seems this was done in the past...
We can configure the chart with some options:
alignTicks: false,
tickInterval: 0.5
This results in: but now when enabling the Humidity the result is maybe a bit messy with the grid lines: We can hide the gridlines always from the Humidity graph: Without temp the humidity would then look like:
Whats preferred ? (ps. the 120% is still considered to be a bug in highchart...)
We can configure the chart with some options:
alignTicks: false,
tickInterval: 0.5
This results in: but now when enabling the Humidity the result is maybe a bit messy with the grid lines: We can hide the gridlines always from the Humidity graph: Without temp the humidity would then look like:
Whats preferred ? (ps. the 120% is still considered to be a bug in highchart...)
Quality outlives Quantity!
-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Improve scaling of graphs.
i think another option is to not show the grid lines for example humidity but stil show a scale for that. but then the lines will only align to temperature scale. i fighted with this before and then i considered readable scale lines as more important than 100%. but thats just my opinion among a lot of others regarding graphs. maybe a bug report in their github would be best. i only reported in their forum
-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Improve scaling of graphs.
i see they have a bunch of bugs regarding autoscaling, ticks and so on and they don't seem high priority.
- Antori91
- Posts: 136
- Joined: Sunday 12 February 2017 17:12
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Improve scaling of graphs.
Hello,
I don't use very often graphs with Humidity value. Below are two examples with temperature only. To have usable graphs, the scale of the temperature graphs should be set (I think) accordingly to the min/max of the temperature. For example, for the "Temperature Last Year" graph below, the scale should be between 0°C and +30°C and not between -20°C and + 60°C.
I don't use very often graphs with Humidity value. Below are two examples with temperature only. To have usable graphs, the scale of the temperature graphs should be set (I think) accordingly to the min/max of the temperature. For example, for the "Temperature Last Year" graph below, the scale should be between 0°C and +30°C and not between -20°C and + 60°C.
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Improve scaling of graphs.
same kind of bug regarding temperature scale in graph framework
- Antori91
- Posts: 136
- Joined: Sunday 12 February 2017 17:12
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Improve scaling of graphs.
Hello,
Is there any improvement regarding this issue using the latest release?
Is there any improvement regarding this issue using the latest release?
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Who is online
Users browsing this forum: No registered users and 1 guest