committing changes to get the pie chart data from the bean object.