Click here to Skip to main content
15,849,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to show the positive and negative values in chart control specially
on y axis. the x axis must be positive values only.
and type of series is line series only.

Can anybody help me?????

I am using MS VISUAL STUDIO 2008 and using chart control into it.

How can i show the positive as well as negative values with X axis line is at center of Y axisand only right side of the graph.That is only positive values for X axis and positive and negative values for Y axis

Thanks & Regards
Updated 30-Jun-10 20:16pm
Sandeep Mewara 1-Jul-10 1:58am    
Updated my answer with few links that should help you out

Which chart control?

On any chart control you will be able to set the axis values, the starting point and the increment value.

Check for chart options. Setting type of series, axis values, etc can easily be set.

Have a look at these links...
Chart Control Samples [^]
Chart Control Sample 2[^]
Chart Control Sample 3[^]
Share this answer
YOGESH DHAGE 1-Jul-10 1:23am    
Yes Sir,
I had update my question.Now please help me
YOGESH DHAGE 1-Jul-10 2:17am    
Yes Sir,
I had gone through that links it provides lot of information.its good but still my question is unanswered. over there somebody ask for same zero line but answer is not provided.
YOGESH DHAGE 1-Jul-10 2:18am    
Reason for my vote of 3
For Guiding me
Set the minimum value and the maximum value on the axis. Since you didn't say what chart control or what platform, that's the best I can do for you.
Share this answer
YOGESH DHAGE 1-Jul-10 1:23am    
Yes Sir,
I had update my question.Now please help me

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