new array controller for pie chart.