Add currency formatting to average earnings in detailed earnings for download
Fix default graph view. #2249