By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

Copying series datapoints to another series using charts in .Net

P: 1
I am using chart control in application. I am pretty new to the charts.My question is how to split a chart series.For example the code below. I want to move the last three data point to another series (series2).

Expand|Select|Wrap|Line Numbers
  1. double[] yValues1 = { 65.62, 75.54, 60.45, 55.73, 70.42, 200 };
  2. string[] xValues1 = {"France","Canada","UK","USA","Italy","Spain" };
  3. chart.Series["Series1"].Points.DataBindXY(xValues1, yValues1);
Series1 should show (65.62, 75.54, 60.45)with values ("France", "Canada", "UK")
And series2 should show (55.73, 70.42, 200) with values("USA", "Italy", "Spain")

Please help I will be really grateful to you, thanks in advance.
Dec 3 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.