This question is locked. New answers and comments are not allowed.
hi, i am using this code to organize my chart but there is a problem and it is: the first sere name does not shown!!
here is my code:
how can i fix this problem?
thanks
here is my code:
| int i=0; |
| radChart1.Series.Clear(); |
| foreach (DataRow row in dt.Rows) |
| { |
| radChart1.Series.Add(new Telerik.Charting.ChartSeries(row["ykol_name"].ToString().Trim(), Telerik.Charting.ChartSeriesType.Bar)); |
| radChart1.Series[i].AddItem(Convert.ToDouble(row["cnt"]), string.Format("({1}({0}", row["cnt"],row["ykol_name"].ToString().Trim())); |
| i++; |
| } |
thanks