piiguu Posted September 6, 2011 Report Share Posted September 6, 2011 This issue is in the same category as http://community.softwarefx.com/forums/t/12355.aspx. The ordering of the series in the plot is different from the ordering in data grid in Gantt chart. Run the following sample code, you can see that in the plot Women is shown on top of Men, but in data grid they are in opposite order where Men is first then Women second. chart1.Data.Series = 2; chart1.Data.Points = 3;chart1.Gallery = Gallery.Gantt; chart1.LegendBox.Visible = true;chart1.DataGrid.Visible = true; chart1.Series[0].Text = "Men";chart1.Series[1].Text = "Women"; chart1.AxisX.Labels[0] = "A";chart1.AxisX.Labels[1] = "B";chart1.AxisX.Labels[2] = "C"; chart1.Data[0, 0] = 15; chart1.Data[0, 1] = 11; chart1.Data[0, 2] = 14; chart1.Data[1, 0] = 9; chart1.Data[1, 1] = 7; chart1.Data[1, 2] = 8; 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.