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

Multicolor Bars in single series bar chart

3 Answers 89 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Joel asked on 06 Mar 2009, 05:21 PM
For a single series bar chart, what is the setting to make each bar a different color?

3 Answers, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 09 Mar 2009, 12:21 PM
Hi Joel,

Please, refer to our online help system at http://www.telerik.com/help/aspnet-ajax/howtoassigncolors.html for information on how to change the default colors of a bar series.

Kind regards,
Velin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Joel
Top achievements
Rank 2
answered on 09 Mar 2009, 01:39 PM
Thank you for the link to the hard-coded colors. 

Is there any way to use the defined colors of the selected skin iteratively?  Since user will be selecting and saving  the skin of their choice and chart type, if I hard code bar colors, then it kind of defeats the purpose of a skin and will look quite odd.  If different series have their own palattes, should there not be a way to access that pallete of colors?
0
Velin
Telerik team
answered on 13 Mar 2009, 11:15 AM
Hello Joel,

Unfortunately, RadChart does not provide the option to access the selected skin's predefined color palette with code. Alternatively, you could create custom color palettes for each skin you intend to use.

We are sorry for the inconvenience.

Kind regards,
Velin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Joel
Top achievements
Rank 2
Answers by
Velin
Telerik team
Joel
Top achievements
Rank 2
Share this question
or