create adapter for piechart