This is a migrated thread and some comments may be shown as answers.

The Series Name Keeps Changing To Series xx

1 Answer 34 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David Grothe
Top achievements
Rank 1
David Grothe asked on 06 May 2009, 07:21 PM
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"

 

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 08 May 2009, 08:35 AM
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.
Tags
Chart (obsolete as of Q1 2013)
Asked by
David Grothe
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Share this question
or