Click here to Skip to main content
15,912,021 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
im using charts in my windows application...i want to display the text for X and Y axis...i want the C# coding for it..pls help me....
Posted

1 solution

hi,

Try this
C#
chartArea1.AxisX.Title = "X-Axis Title";
chartArea1.AxisY.Title = "Y-Axis Title";
 
Share this answer
 
Comments
premkumar.r 30-Jul-11 10:42am    
I have to add any namespace for this...I yes means please tell that name space....(name space for AxisX and AxisY....

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