This question is locked. New answers and comments are not allowed.
Hello,
actually I try to add a label to a chartSeries... is this possible?
I can do this for an item - but I don't succeed for my Series (Pie)...
If this is not possible - can you tell me how to change the border color of the legend items?
When I add chartSeries to my chart, every legend item gets the same border and fill color. So I can't see to which chartSeries the legend item belongs.
Thank you
Best regards.
Nadine
actually I try to add a label to a chartSeries... is this possible?
I can do this for an item - but I don't succeed for my Series (Pie)...
If this is not possible - can you tell me how to change the border color of the legend items?
When I add chartSeries to my chart, every legend item gets the same border and fill color. So I can't see to which chartSeries the legend item belongs.
Thank you
Best regards.
Nadine
5 Answers, 1 is accepted
0
Hi Nadine,
I am not sure I understand the first question. Can you, please, provide a more detailed explanation to what you want to show in the Legend? A sketch will be great, as well.
On the second question, applying color to the legend items should be done on BeforeLayout event, to ensure all required items are generated. Here is a sample code:
Best regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I am not sure I understand the first question. Can you, please, provide a more detailed explanation to what you want to show in the Legend? A sketch will be great, as well.
On the second question, applying color to the legend items should be done on BeforeLayout event, to ensure all required items are generated. Here is a sample code:
public Form1() |
{ |
InitializeComponent(); |
this.radChart1.BeforeLayout += new EventHandler<EventArgs>(this.radChart1_BeforeLayout); |
} |
private void radChart1_BeforeLayout(object sender, EventArgs e) |
{ |
this.radChart1.Legend.Items[0].Appearance.Border.Color = Color.Red; |
this.radChart1.Legend.Items[0].Appearance.Border.Visible = true; |
} |
Best regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nadine
Top achievements
Rank 1
answered on 23 Jan 2009, 07:55 AM
Hello,
I'll try to explain it more detailed.
I have a chart an want to add i.e. 2 pie-charts (2 chart series). Then I add several items (pieces) to the pie.
The items have labels which are displayed (i.e. 45%...).
But I want to add a label to each pie additionally (i.e. name of university). Is this possible? Normally this will be displayed in the legend, right? But I would prefer it to display it in a label/title over each pie...
Thanks for your explanation regarding the legend items. I'll try it, if there is no possibility to add labels to the pie charts.
Best regards.
Nadine
I'll try to explain it more detailed.
I have a chart an want to add i.e. 2 pie-charts (2 chart series). Then I add several items (pieces) to the pie.
The items have labels which are displayed (i.e. 45%...).
But I want to add a label to each pie additionally (i.e. name of university). Is this possible? Normally this will be displayed in the legend, right? But I would prefer it to display it in a label/title over each pie...
Thanks for your explanation regarding the legend items. I'll try it, if there is no possibility to add labels to the pie charts.
Best regards.
Nadine
0
Hello Nadine,
Unfortunately, RadChart does not provide the means to display individual pie labels. Please, accept our apologies for the inconvenience caused.
Kind regards,
Ves
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Unfortunately, RadChart does not provide the means to display individual pie labels. Please, accept our apologies for the inconvenience caused.
Kind regards,
Ves
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nadine
Top achievements
Rank 1
answered on 26 Jan 2009, 08:48 AM
Thank you for your reply.
I think, this would be a good feature... perhaps you could consider to realize this in a futurer release?
Best regards.
Nadine
I think, this would be a good feature... perhaps you could consider to realize this in a futurer release?
Best regards.
Nadine
0
Hello Nadine,
Thanks for this suggestion. I will forward it to our developers for further consideration. Your Telerik points have been updated.
Regards,
Ves
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thanks for this suggestion. I will forward it to our developers for further consideration. Your Telerik points have been updated.
Regards,
Ves
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.