Added percentages to the legend