add links to charts and legend