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

How to change chart colors?

3 Answers 367 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Feedback
Top achievements
Rank 1
Feedback asked on 09 Jul 2007, 08:51 PM
Is there any example documentation on how to change the colors of say, the pie chart?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 10 Jul 2007, 03:27 PM
 
There are a couple of ways to change the colors of the series items.

First, you can use a set of predefined colors by setting the SerriesPalette property of the chart to a specific color scheme. For example:  Classic, Web20, Office2007, etc. If the predefined colors do not suit you, you can define custom series palettes through the CustomPalettes collection and use them again through the SerriesPalette property. Once you add a new custom palette, you will be able to choose its name from the SerriesPalette drop down list in the Properties window.

You can also set the series items appearance through the Appearance property of the series items. This can be done either programmatically or at design time.

If you need any further information regarding this issue do not hesitate to contact us again.

 
All the best,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Digital Man
Top achievements
Rank 2
answered on 13 Dec 2008, 10:01 PM
Having a weird issue. It seems that no matter what I change in the designer for the chart (series colors, etc), it doesn't stick (save). When I recompile or close the form and re-open it, the old colors are back.
0
Steve
Telerik team
answered on 15 Dec 2008, 03:02 PM
Hello Dan Duda,

We have noticed a few problems with the serialization of the designer invoked changes as well and have this logged in our bug tracking system for investigation. As a workaround, please use the property grid or make the changes in the Report constructor through code.

Sorry for the inconvenience.

Best wishes,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Feedback
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Digital Man
Top achievements
Rank 2
Steve
Telerik team
Share this question
or