Henders Posted December 21, 2007 Report Share Posted December 21, 2007 We are trying to put up several time-series on the same chart.Therefore, we use chart1.Data.Y[i, j] = data;chart1.Data.X[i, j] = dt.ToOADate(); We then put up the Datagrid and therein lies a problem - as the timeseries data is every 2 minutes over a period of a day...This means that what we see on the datagrid is just the date without the times... ToOADate() will return the seconds, please does anyone know how I can put up the time as well as the date. Thanks Quote Link to comment Share on other sites More sharing options...
Frank Posted December 21, 2007 Report Share Posted December 21, 2007 All you need to do is to change the format in which values in the datagrid are shown: For example: chart.AxisX.DataFormat.Format = AxisFormat.Time; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.