adding workType variable for title of chart