added report charts function for admin