Added PieChart constructor. Fixed Bar Chart constructor