Add legends for piechart
merge