Jump to content
Software FX Community

Inconsist series ordering between Legend Box and Data Grid in Gantt chart


piiguu

Recommended Posts

Hi, series in Legend Box and Data Grid are listed in different orders when the chart is a Gantt chart. Other types of charts don't have this issue. Is it a bug?

The following code demostrates the issue.

chart1.Data.Series = 2;

chart1.Data.Points = 3;

chart1.Gallery = Gallery.Gantt; //--> Trying changing to Bar to see different behavior

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;

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...