I’m using mschart to display some values over a timeperiod. It looks something like
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To show DateTime related values on the XAxis you can choose to set the
XValueTypeproperty.In your case
Series[0].XValueType = ChartValueType.Timewould be the right thing to display time related values.To format the values you can use
ChartAreas[0].AxisX.LabelStyle.Formatwhich would translate your values into the required format say likeHH:mm:ss.