adds name to 2d-piechart