Microsoft chart
Posted
by user222820
on Stack Overflow
See other posts from Stack Overflow
or by user222820
Published on 2010-03-15T14:35:03Z
Indexed on
2010/03/15
14:39 UTC
Read the original article
Hit count: 283
Charting
hi there i am writing a program in c# windows app and i use the microsoft chart component i have 100 string in an array and 100 double in an array and i wanna draw a chart with these arrays but i have a problem it draws chart with 5 or 6 column what shoud i do with this problem
string[] dates = new string[100];
double[] values = new double[100];
for (int i = 0; i <= 99; i++)
{
dates[i] = "1/1/138" + i.ToString();
values[i] = i;
}
s.Series[0].Points.DataBindXY(dates, values);
© Stack Overflow or respective owner