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

Radchart -Pie series

1 Answer 164 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Divya
Top achievements
Rank 1
Divya asked on 12 Oct 2010, 08:23 AM
How to fill the color in the Pie-Chart series ...

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 14 Oct 2010, 11:28 AM
Hello Divya,

Pie chart uses a single series of data.  Multiple series of data can be defined and are each displayed in a separate pie chart. Do you mean you want each Pie Slice in different color? If this is your requirement then you can tailor the look of each pie slice individually by working with the pie chart series appearance property. You can find more information in our help topic - http://www.telerik.com/help/aspnet-ajax/understandingtypespie.html.
 Here is how to set Solid Red Color to first slice:

RadChart1.Series[0].Items[0].Appearance.FillStyle.FillType = Styles.FillType.Solid
RadChart1.Series[0].Items[0].Appearance.FillStyle.MainColor = Color.Red

I hope this answers your question.

Best wishes,
Evgenia
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
Tags
Chart (Obsolete)
Asked by
Divya
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or