pie-chart: save tmp data into g_array

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>