How to use chart control in 4.0/4.5 project ?



Before 4.0, it was some difficult to display data in as chart wise. But when 4.0  came then it become so easy to use in project.

Here are the few steps to use in 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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.