dashticz bug: graph heading value multiplied by 1000

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
willemd
Posts: 650
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

dashticz bug: graph heading value multiplied by 1000

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

willemd
Posts: 650
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: dashticz bug: graph heading value multiplied by 1000

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest