Page 1 of 1

Two graphTypes on the same y-axis

Posted: Sunday 17 October 2021 22:23
by JakeOfOz
Hi,
I use dashticz to display my power data, but one of the things I really like in the Domoticz view, is the graph of usage and return (totals) for the day. I tried to replicate it in Dashticz with

Code: Select all

blocks['p1-meter'] = {
        devices: ['1'],
        width: 12,
        height: '300px',
        graph: ['line','line'],
        graphTypes: ['eu','eg'],
        lineFill: true,
        borderColors: ['rgba(83, 51, 198, 1)','rgba(50, 180, 100, 1)'],
}
This is almost correct, except for the fact that both graphs use a different Y-axis. I want them to use just one. I've tried for hours now, but can't figure it out... Is there an easy way to fix this?

Re: Two graphTypes on the same y-axis

Posted: Sunday 17 October 2021 22:46
by Lokonli
Will be fixed within a few days

Verstuurd vanaf mijn AC2003 met Tapatalk


Re: Two graphTypes on the same y-axis

Posted: Friday 22 October 2021 18:29
by Lokonli
JakeOfOz wrote: Sunday 17 October 2021 22:23 Hi,
I use dashticz to display my power data, but one of the things I really like in the Domoticz view, is the graph of usage and return (totals) for the day. I tried to replicate it in Dashticz with

Code: Select all

blocks['p1-meter'] = {
        devices: ['1'],
        width: 12,
        height: '300px',
        graph: ['line','line'],
        graphTypes: ['eu','eg'],
        lineFill: true,
        borderColors: ['rgba(83, 51, 198, 1)','rgba(50, 180, 100, 1)'],
}
This is almost correct, except for the fact that both graphs use a different Y-axis. I want them to use just one. I've tried for hours now, but can't figure it out... Is there an easy way to fix this?
Should work in 3.8.6 (just released). Can you test?