dashticz bug: graph heading value multiplied by 1000
Posted: Tuesday 10 October 2023 19:23
I have two devices in domoticz, both of type general,custom with a defined axis of kWh/100km.
One has value 15.0, the other has value 16.4. (shown in domoticz and also present in the percentage and devicestatus table)
When I include those into one graph in dashtics the heading shows the graph title and then
15.100,00 kWh/100km | 16.4 kWh/100km
The lines in the graph are fine, but in the heading the value of one of the sensors is multiplied with 1000.
The json statements used by dashticz to get the value from domoticz also show the correct values.
I think it is a bug
This is the code for the graph
One has value 15.0, the other has value 16.4. (shown in domoticz and also present in the percentage and devicestatus table)
When I include those into one graph in dashtics the heading shows the graph title and then
15.100,00 kWh/100km | 16.4 kWh/100km
The lines in the graph are fine, but in the heading the value of one of the sensors is multiplied with 1000.
The json statements used by dashticz to get the value from domoticz also show the correct values.
I think it is a bug
This is the code for the graph
Code: Select all
blocks['graph_EV_eff'] = {
title: 'EV efficiency',
width: 12,
devices: [174,175],
height: '300px',
beginAtZero: true,
legend: {
v_174: "Internal",
v_175: "External"
},
}