Before asp.net 4.0, it was some difficult to display data in asp.net as chart wise. But when asp.net 4.0 came then it become so easy to use in asp.net project.
Here are the few steps to use in asp.net project.
Step1: Take one Chart Controls from toolbar
Step2: Populate the chart control using any datasource
Step3: Configure the chart control like this
Step4: Now compile your project. You will get output like this.
Note: Here i have created table i.e student in database having StudentName and Marks are column field in that table and i m populating the Datagridview using sqldatasource