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

Flatten multiple grouping labels

2 Answers 49 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Adam Petaccia
Top achievements
Rank 1
Adam Petaccia asked on 19 Aug 2010, 10:27 PM
I have some charts which require multiple groupings. Unfortunately, this tends to create a new chart legend item for each possible combination. For example, my first grouping (by Foos) may contain A, B, and C. The second grouping (say Bars) may contain 1, 2, and 3. Currently what happens is that RadCharts generate a new item for all combinations leading to A1, A2, A3, B1, B2, etc. This is overkill as the chart legend quickly becomes over populated and the number of unique colors required would be extreme (more than Telerik has).

Rather than this behavior, I would like for the data to be grouped by both Foos and Bars, but rely on tooltips to display the additional data. So the bars would be located in the same position as with multiple groupings, but rather than going A1 A2 A3 B1 B2 B3 it read 1 2 3 1 2 3 and be colored as such.

2 Answers, 1 is accepted

Sort by
0
Accepted
Velin
Telerik team
answered on 25 Aug 2010, 07:43 AM
Hi Adam Petaccia,

As far as I have understood your question, you just need to set up grouping on the "Foos" (using your words) field. This way you will get three series named A, B and C and on the X axis you will have 1, 2 and 3.
 
If this is not your case, please provide a screen shot or other details in order to be able to assist you further.

Regards,
Ryan
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
0
Adam Petaccia
Top achievements
Rank 1
answered on 17 Sep 2010, 08:55 PM
Sorry for the late response, indeed I was trying to accomplish an effect which is better handled by our backend code, rather than by Telerik.
Tags
Chart
Asked by
Adam Petaccia
Top achievements
Rank 1
Answers by
Velin
Telerik team
Adam Petaccia
Top achievements
Rank 1
Share this question
or