:construction: added the option to calculate the average value of all the points in a chart