Page 1 of 1

dashticz bug: graph heading value multiplied by 1000

Posted: Tuesday 10 October 2023 19:23
by willemd
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

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"
    },
}


Re: dashticz bug: graph heading value multiplied by 1000

Posted: Tuesday 10 October 2023 20:16
by willemd
and a second bug?
another general,custom sensor, this one with value 0.03 shows in the heading 0.00
Again graph line,database and json data are correct 0.03