How to map specific data results to particular series?

Thread is closed for posting
2 posts, 0 answers
  1. Cheryl
    Cheryl avatar
    45 posts
    Member since:
    Jul 2006

    Posted 13 Dec 2011 Link to this post

    Hi, is there a way to specify which data should be shown in which series?
    For example, I have a table that has

    Priority    Date        Mins
    High        7/11/11        390
    High        8/11/11        383
    Critical    8/11/11     60
    Medium    8/11/11    183
    High        9/11/11    105
    Critical    9/11/11    15

    I have set up 3 series, for Critical, High and Medium (in this order)

    Is there a way that I can say any record that shows Priority = Critical to show in Series 1, Priority = High to show in Series 2 and so on?

    Currently as the first data is for "high", it shows in the first series which is for critical.

  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 16 Dec 2011 Link to this post

    Hi Cheryl,

    In order to achieve that you need to specify chart's DataGruopColumn property and then using DataManager.ValuesXColumn and DataManager.ValuesYColumns to specify your X and Y values datasources.

    I have also attached a sample project demonstrating the above approach.

    More about data grouping can be read in our help topic section here:
    http://www.telerik.com/help/aspnet-ajax/radchart-grouping-databound-items.html

    Greetings,
    Peshito
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top