I am looking for an example of using a datetime field on a zedgraph linechart X-Axis.
Edit – And how do I set the XAxis max scale
myPane.XAxis.Type = AxisType.Date; myPane.XAxis.Scale.Min = 0; myPane.XAxis.Scale.Max = 12;
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.
You will have to convert the DateTime variables to XDate structs. You can create a method like this:
Here is an example of a chart using the XDate structs