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

How to map specific data results to particular series?

1 Answer 38 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Cheryl
Top achievements
Rank 1
Cheryl asked on 14 Dec 2011, 04:02 AM
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.

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 16 Dec 2011, 10:59 AM
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
Tags
Chart (Obsolete)
Asked by
Cheryl
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or