graph with year range till yesterday

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
brjhaverkamp
Posts: 56
Joined: Wednesday 06 December 2017 16:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

graph with year range till yesterday

Post by brjhaverkamp »

Hi all,

I have a "little anoyance" on my dashboard that I was trying to solve today. But I couldn't figure out how. I hope someone can help me here.

I currently plot my gas and electricity usage (daily and cumulative) over the year and have a rolling counter for the total usage over the year.
The year range currently is defined as from "tomorrow last year to today" (if that makes sense). I would like to have it "from today last year till yesterday"
Maybe an example is more clear: today is September 23rd 2023.
My current year graph shows September 24th 2022 till September 23rd 2023. (including the current day which is not completed yet)
I would like to display September 23th 2022 till September 22rd 2023. (the last completed year)

This would to allow me to anticipate if I will go up or down in my yearly usage by comparing September 23rd 2022 usage vs today's usage.
At the moment, I can not see the September 23rd 2022 value any more.

Is there a way to tweak or trick the year graph to use display this time range? Can one define a custom time range somehow?

Kind regards,

Bert
Attached a screenshot of the graph I am trying to improve:
Screenshot from 2023-09-23 08-25-12.png
Screenshot from 2023-09-23 08-25-12.png (270.24 KiB) Viewed 936 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest