problem with series name

3 posts, 0 answers
  1. mahdi gh
    mahdi gh avatar
    14 posts
    Member since:
    May 2010

    Posted 19 Jun 2010 Link to this post

    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:
    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++; 
                } 
    how can i fix this problem?
    thanks


  2. mahdi gh
    mahdi gh avatar
    14 posts
    Member since:
    May 2010

    Posted 20 Jun 2010 Link to this post

    please help me
    i need this quickly
    thanks
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Velin
    Admin
    Velin avatar
    391 posts

    Posted 24 Jun 2010 Link to this post

    Hi mahdi gh,

    Unfortunately, we will need more information in order to be able to help. Please make sure that the "ykol_name" cell  for the first row contains a string and not null or empty string.

    Greetings,
    Velin
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top