This sample shows how to create a pie chart using an array as the data source for the chart.