Added legends to charts