Adding legend to the left bar