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 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; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.