Dear colleagues,
I have a Mysql Table where I am registering each minute the value of a counter…
example : 14:01:00 (9080) 1
4:02:00: (10020)
4:03:00 (10250)…
I would like to have a graphic bar with the total of each hour, so , i suppose that I should get the first value of each hour and the last one … por example: 14:00:00 (9000) and 14:59:58 (13000) and substract 13000-9000 in order to have the total I have produced during that hour: 40000.
How can I do it for a bar with 24 bars? , I mean , one bar for each hour of the day…
Many thanks in advance!!
My actual trend: