Creating basic legends. Some problem with the height of the bars