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.
Hi Raffy,
If you are using our WPF product, we have the new TimeXAxis which you can use. You can find more info in our Using TimeXAxis help topic.
If you are using Silverlight, you can use a converter to display the dates instead of the months. Please see the attached sample that demonstrates this.
8284.DataChart_CategoryDateTimeInterval.zip
Let me know if you need further assistance with this.
Is there any update to show the actual dates and not month.
Hello Charlie,
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further question on this matter.
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.
Hi Gergana,
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. ^_^