only use "selected" data on piechart initialisation