-
Hi Guys, I'm looking for a solution to make a graph for the exact curent 15 minutes period (not the same as the previous 15 minutes). Fe. if it's now 13h12, then the period to graph would be from 13h to 13h15. Any suggestions would be apreciated ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can achieve this via Let me know how it goes! |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for you response. I had came across '#220 (comment)', but I couldn't get it working. No you directed me there again, I gave it another try. Turns out this does the trick: time_offset: $fn () => (900000-(Date.now() % 900000)).toFixed(0) + 'ms' |
Beta Was this translation helpful? Give feedback.
You can achieve this via
$ex
functions, see this comment #220 (comment)This comment shows how to do 24 hours, but with a bit of math you can adapt it to 15 minutes.
Let me know how it goes!