Change "serieslabel" ?

2 posts, 0 answers
  1. Marcin
    Marcin avatar
    28 posts
    Member since:
    Jan 2009

    Posted 14 May 2010 Link to this post

    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.
  2. Nikolay
    Nikolay avatar
    397 posts

    Posted 19 May 2010 Link to this post

    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,
    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