Hi, I just want to set CategoryDateTimeXAxis interval to be one month, just like "2013-01-01 2013-02-01 2013-03-01 ... 2013-12-01", how can I achieve this, thanks.
Thank you for your post! I have been looking into it and can suggest setting the Interval property of the CategoryDateTimeXAxis. Here is a link to our documentation, where you can find more information about this property: http://help.infragistics.com/Help/Doc/WPF/2013.1/CLR4.0/html/xamDataChart_Axis_Range.html.
Please do not hesitate to let me know if you have any further questions on this matter.
I was looking into your email. And have created a small sample for you. I can suggest using the CategoryXAxis and set the Label mas as follows: “MM/yyyy”. This way when setting the Interval property to 31, the range would be 1 month.
Please find the attached sample application and feel free to let me know if you have any further questions on this matter.
I have researched your attached sample, and I find that the range would not be 1 month, just 31 days. If the data is in 2013-03-02 , it will appear before"2013-03" , it's not correct. If I set "yyyy-MM-dd", it will look like "2013-01-02 2013-02-03 2013-03-05..." and so on. What I need is actually "2013-01-01 2013-02-01 2013-03-01 ... 2013-12-01". Do I make myself clearly? Thanks in advance. ^_^
I have been looking into your issue. Since the months have different number of days and even interval cannot be set. I can suggest to use the name of the months(February, June, July, etc.), then set the interval property to 31 days. I have created a small sample for you to show you the above mentioned functionality. Please find the attached sample application and feel free to let me know if you have any further questions on this matter.