In this article we will use the Chart Web Part to provide a simple way to provide charts on a Web Part page so that users can visualize data in native lists.

First you create a list with the columns Country, Sales Revenue and Sales By Year.

1. In the Quick Launch, you should see that there are two lists that have been created in the site named Sales By Country and Sales By Year. Click on the links to quickly inspect the data inside.

Shr1.jpg

Figure 1: The Sales By Country list

2. The Chart Web Part is part of the Enterprise Edition of SharePoint Server 2010. Therefore, you must activate a specific feature of the Enterprise Edition before you can use the Chart Web Part.

Note: Activation of these features is what makes the Chart Web Part available.

3. Click on the Home link on the Top Link navigation bar to return to default.aspx.
4. Add an instance of the Chart Web Part to default.aspx using the following steps.

Shr2.jpg

Figure 2: Add the Chart Web part

5. Once the Chart Web Part has been added to the page, you should see a link with the caption Data & Appearance. Click on this link to launch a wizard that will allow you to select a data source.

Shr3.jpg

Figure 3: The Chart web part

6. Follow these steps to move through the wizard and connect the Chart Web Part to a SharePoint list as its data source.

Shr5.jpg

Figure 5: Configure the Chart web part

7. At this point you should have a basic column chart. Now you need to convert it into a pie chart and make it look more polished. Click the Data & Appearance link again and do the following:

Shr8.jpg

Figure 8: Sales By Country Pie Chart

8. Now you will add a second instance of the Chart Web Part to default.aspx so you can also chart the sales data inside the Sales by Year list.

Shr9.jpg

Figure 9: Add another Chart web part

9. At this point the new Chart Web Part instance should appear above the Pie Chart Web Part you created earlier. Now configure this following these directions:

Shr10.jpg

Figure 10: Configure the Chart web part

10. At this point you should have a basic column chart. Now you need to convert it into a line chart and make it look more polished. Click the Data & Appearance link again and follow these steps.

Shr13.jpg

Figure 13: The configured Sales By Country Line Chart web part