Jump to content
Software FX Community

Multiple Panes and AxisY2


Recommended Posts

What is the trick to set a series' Y axis to AxisY2 when the series is in a pane other than the first pane? I seem to only be able to set the AxisY2 for series that are on the first pane. Below is my code, results are not what I expected.

chart1.Data.Series = 4;

chart1.Panes.Add(new Pane());

chart1.Series[0].Pane = chart1.Panes[0];

chart1.Series[1].AxisY = chart1.AxisY2;

chart1.Series[1].Pane = chart1.Panes[0];

chart1.Series[2].Pane = chart1.Panes[1];

chart1.Series[3].AxisY = chart1.AxisY2;  // this does not seem to work

chart1.Series[3].Pane = chart1.Panes[1];

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.

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...