Legend added to bar chart