No, Lets say we have rectangle on the graph where it starts at 12:00 and ends in 13:00 (1 hour) its top is at value 10. So what is the area? 5 (1*10/2) this is the area value I want to get from the graph, the area under the line. Is it clear?
Sure,
https://jsfiddle.net/a_gov/tedLb26h/71/
Link to files: 1. 2 files to load https://www.dropbox.com/s/fof17nyrcyjzcpp/1.json?dl=0 https://www.dropbox.com/s/6536q3e794hrh1v/10.json?dl=0
2. Image https://www.dropbox.com/s/ka3p37kthld9vmn/1%2B10.png?dl=0