How do you measure the area under a line graph?


#1

In my case, I am curious to work out my daily kW/h spend. Week and month totals would be interesting too. How do I achieve that?

Guess best experience on second thought would be to make a range selection and get a total spend for that!


#2

You need to calculate integral. Check used TSDB doc, some TSDB (InfluxDB) supports Integral function out of the box.