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
answered on 19 May 2010, 03:05 PM
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.
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.