This is a migrated thread and some comments may be shown as answers.
Pie chart more than 5 colors
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
RBeco
Top achievements
Rank 1
RBeco asked on 14 May 2013, 12:41 PM
Hello,

I noticed that the pie chart has only 5 different colors for the different pie slices. Meaning if I have more than 5 items showing in my chart, colors will get repeated (I tried a few skins, but didn't try them all).

I can of course try to make code that will add the items individually and set the color myself, but I would rather have this just work straight out of the box. Is there a simple way to have more than 5 colors? Did i miss anything?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 17 May 2013, 10:51 AM
Hi Ramaka,

The current version of the RadHtmlChart provides exactly 5 colors for the series and as you mentioned the way to use other s is to set the color of the corresponding series items. We are currently working on adding additional 5 colors and they might be introduced in one of our next releases.

There is also an item in our public issue tracker  where you can vote for this feature and as more and more clients do this we will raise the priority of this task and provide it to you as soon as possible.

The following resources can help you in using the desired colors for your charts:
http://www.telerik.com/help/aspnet-ajax/htmlchart-application-using-multiple-custom-colors.html
http://www.telerik.com/help/aspnet-ajax/htmlchart-appearance-conditional-item-colirization.html

Regards,
Stamo Gochev
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.
Asked by
RBeco
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
Share this question
or