Hi Özgür,
We are unable to reproduce the described behavior with the following code:
protected void Page_Load(object sender, EventArgs e) |
{ |
RadChart chart = new RadChart(); |
chart.ID = "chart1"; |
this.Form.Controls.Add(chart); |
|
DataTable table = new DataTable(); |
table.Columns.Add("MyCol", typeof(int)); |
|
DataRow row = table.NewRow(); |
row["MyCol"] = 1; |
table.Rows.Add(row); |
|
DataRow row2 = table.NewRow(); |
row2["MyCol"] = 2; |
table.Rows.Add(row2); |
|
DataRow row3 = table.NewRow(); |
row3["MyCol"] = 3; |
table.Rows.Add(row3); |
|
chart.DataSource = table; |
chart.DataBind(); |
|
Response.Write(chart.Series.Count); |
} |
Let us know how it goes.
Regards,
Manuel
the Telerik team