update legend labels to display certain info on legend. have to manually refresh graph