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

Separate legends for multi pie-chart series?

2 Answers 162 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
CF Brain
Top achievements
Rank 1
CF Brain asked on 25 Jan 2010, 10:47 AM
Hi there,

Can somebody please advise re the following two questions on the RadChart control:

1. If I create one (Pie) radChart, then add two series to it, I get two separate pie charts - great. 
However, the two legends for these separate charts are "mixed", that is, they appear in one block.  Is it possible to have a separate legend for each pie chart/series?
The legends are created using the following line:
                    radChart1.Series[0].Appearance.LegendDisplayMode = Telerik.Charting.ChartSeriesLegendDisplayMode.ItemLabels;

2. What setting controls the colour of the number associated with the item, that is, the number appearing beside the pie chart slices showing the data for that segment?  Is is taken from one of the background or border colours, or can it be controlled invididually?

Thanks a lot - excellent product by the way,

Charles



2 Answers, 1 is accepted

Sort by
0
Accepted
Vladimir Milev
Telerik team
answered on 27 Jan 2010, 08:19 AM
Hello CF Brain,

We are happy you like our product. Thanks!

If you want separate pie charts with separate legends I will suggest you go with having two charts on your page. Each will have its own legend. If you want to experiment with custom layouts you can take a look at our first look example.

2nd question - It will be possible beginning Q1 2010 to easily query and change each individual color of the chart palette. Currently it is taken from a built-in palette different for each theme.

Kind regards,
Vladimir Milev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
CF Brain
Top achievements
Rank 1
answered on 01 Feb 2010, 02:52 PM
Thanks for the reply and info, all the best
Charles
Tags
Chart (obsolete as of Q1 2013)
Asked by
CF Brain
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
CF Brain
Top achievements
Rank 1
Share this question
or