05-07-2009 11:48 AM
Hello,
I am using MS 8.0 to do one wavegraphform application. I hope to use current datetime as X-Axis, so I prefer to display X-Axis as DateTime, like 2009/05/08 12:12:34. Could I do that?
thanks a lot
05-08-2009 10:09 AM
YHong,
The datetime value is part of the .NET framework, and if you want more information on creating a custom datetime format string please check the MSDN help for custom datetime strings http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx . To get your desired format of 2009/05/08 12:12:34. You could use a format string of yyyy/MM/dd h:m:ss I have attached a screenshot for your reference. You can modify the way the xAxis is displayed by going into the graph properties » xAxis » MajorDivisions » LabelFormat. Then select DateTime as your category, and enter in the format string you desire. Hope this helps.