chart links are now clickable. extracted chart helpers into a helper class to remove code duplication