only use "selected" data on piechart initialisation
Merge branch 'origin/piechart'