tags:

views:

26

answers:

0

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);