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

Change "serieslabel" ?

1 Answer 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 14 May 2010, 11:27 AM
Hi Telerik Team,

I need chart like this in attachment.

I get from WebService data in List<struct> where struct is a class with property Name and Count. I can't change default number 1,2,3 to Name...
Thanks for help.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 19 May 2010, 03:05 PM
Hi Marcin,

In order for the Chart to display the labels, instead of auto-generating them,  you need to create a data bound chart and define two ItemMappings - one that binds the "Name " property from your data source to the DataPointMember.XCategory and another for binding the "Count" property to DataPointMember.YValue.

Please, refer to this help topic, from which Binding the RadChart section should provide you with more information on how to bind your chart to your data source.

Hope this helps.

Sincerely yours,
Nikolay
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.
Tags
Chart
Asked by
Marcin
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or