graphs -> year by Month

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
NilsNijenhuis
Posts: 81
Joined: Friday 10 July 2020 22:56
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

graphs -> year by Month

Post by NilsNijenhuis »

Hello,

Ik like to display a graph of the solarpanels and groupBy month?
but instead of that it only displays the first day of the month instead of the kwh of the whole month.
does someone know what i am doing wrong?

I use the code:

"afgelopen jaar": {
range: 'year',
groupBy: 'month',
data: {
Solar: 'd.v_25',
}
}
Attachments
groupBy.JPG
groupBy.JPG (34.78 KiB) Viewed 278 times
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: graphs -> year by Month

Post by Lokonli »

add the following block parameter:

Code: Select all

   aggregate: 'sum'
NilsNijenhuis
Posts: 81
Joined: Friday 10 July 2020 22:56
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: graphs -> year by Month

Post by NilsNijenhuis »

superb, it work thanks!!!
Attachments
groupBy.JPG
groupBy.JPG (25.68 KiB) Viewed 265 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest