Click here to Skip to main content
15,901,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new for the ASP.NET Chart controls 4.0.
I have below data from SQL. i want to bind those data into ASP.NET Chart controls.
see data below
--------------
EmpName Marks Class
Ramesh   90     A
Albert   89     B
Abdul    92     A
Raghu    83     B
Anil     81     B

X- Axis ==> EmpName
Y-Axis  ==> Marks
X-Asis Labels ==> Class (display cell points on the top)

How to display chart in the above format using ASP.NET Chart controls 4.0..?
Posted
Updated 8-Jan-12 23:56pm
v4

1 solution

Tou need to make a series and then add point in that.
here is small example.

ASP.NET Charting Controls[^]
ASP.NET 4.0 Chart Control[^]
 
Share this answer
 
Comments
gani7787 9-Jan-12 6:37am    
I want to display 3rd value in the top of the xaxis points.
How to do this....?
DepiyaReddy 30-Apr-12 20:50pm    
Hi gani ,

I have the same issue .Display custom labels on top of x axis .Did you fix the issue?if so please help me out

thanks in advance

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900