Click here to Skip to main content
15,031,495 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
How to show date time in x axis and in tooltip in ms chart?
Example:

10/12/2010 1:30
10/12/2010 2:30
10/12/2010 3:00
11/12/2010 1:30
11/12/2010 2:30
11/12/2010 3:30
Posted

Try posting the question here for a more specialized answer:
http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/threads/[^]

You can also try this:
this.chart.ChartAreas["Default"].AxisX.LabelStyle.Format = "MM-DD-YYYY hh:mm";
   
v2
Well, since morning this is the 3rd question which you are asking on MSCharts. Didn't we share the knowledgebase with you? Did you had a look and tried to see whats mentioned there?

Spend some time, look at the properties of the graph. These functionalities of having tooltip or having datetime in axis sounds trivial and should surely be there.
   
Comments
Tharan88 31-Dec-10 4:35am
   
Hello Sndeep i tried a lot but the tooltip only shows date not time this is also same in x axis.
Before posting the question here do some work related or google it what you want.

Don't depend here we are here to help you when you are stuck up. Not to do your entire project.
   

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