David V Posted June 12, 2008 Report Share Posted June 12, 2008 I can not get the header values in the datagrid to change from points to the values. I am populating the XValues foreach (VolData vol in data_){ chart1.Data.X[index] = vol.Expiry.ToOADate(); index++; } and have set the XValuesAsHeaders flag chart1.DataGrid.XValuesAsHeaders = true; Quote Link to comment Share on other sites More sharing options...
Frank Posted June 12, 2008 Report Share Posted June 12, 2008 Are the X-Values shared for all the series or does each series have a separate set of X-Values. To share the X-Values do: chart.Data.X.Shared = true; The strange thing is that Shared is true by default, so you must be setting per-series x-values either explicitly or through DataBinding. 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.