Fised piechart to use values function