Two graphTypes on the same y-axis
Posted: 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
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?
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)'],
}