The Series Name Keeps Changing To Series xx

2 posts, 0 answers
  1. David Grothe
    David Grothe avatar
    1 posts
    Member since:
    Apr 2007

    Posted 06 May 2009 Link to this post

    I am working on a gantt chart and I have set the series name to "Construction Time".  I tried this at design time and at run time and it always changes the name back to Series xx.  Any help would be greatly appreciated.

     

    myChart.Series(0).Name = "Construction Time"

     

  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 08 May 2009 Link to this post

    Hi David,

    I assume you use data binding to fill the RadChart with data. By default, there is a single ChartSeries in the Series collection, whose name you set. When data binding occurs, all ChartSeries are cleared and new ones are added. To successfuly change the series name, please, move the code
           myChart.Series(0).Name
    "Construction Time"

    right after the Data Binding.

    In case that solution does not solve your problem, please, provide more information about the way you fill data in the RadChart.

    Kind regards,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top