Hi,
When i tried pass data to line chart, it doesno't draw line properly. It is displaying streight lines from left to right. See attached image file.
{
con.Open();
command.Connection = con;
adapter.Fill(ds);
ultraChart1.DataSource = ds;
ultraChart1.DataBind();
}
There was no image attached, but I think the problem is that your line chart displays a line for each row in your data set (which is its default behavior). Try setting ultraChart1.Data.SwapRowsAndColumns = true.