Function to see Average Earnings

Like a text above the graph that says you the average earnings of your current graph