fixes animated piechart with data