I have an application where the tasks are logged by the members:
task_id|task_date|task_name|task_duration
On a given day (task_date
) there could be more than 1 tasks and sum total of the duration the tasks took collectively. Eg:
Table:2
task_date | task_count | task_duration
2018-02-24 | 2 | 240
2018-02-25 | 1 | 100
2018-02-26 | 3 | 180
2018-02-27 | 2 | 60
I would like to draw a graph with cumulative figures so that I get a cumulative running total like this:
Desired output:
task_date | task_count | task_duration
2018-02-24 | 2 | 240
2018-02-25 | 3 | 340
2018-02-26 | 6 | 520
2018-02-27 | 8 | 580
So that I can see the trend of tasks being logged and total time being spent of them.
Please focus on the Table:2 as the data to be worked on.