added attribute for PieChart to set the opening animation to clockwise or counterclockwise opening