How to change chart colors?

4 posts, 0 answers
  1. Feedback
    Feedback avatar
    15 posts
    Member since:
    May 2007

    Posted 09 Jul 2007 Link to this post

    Is there any example documentation on how to change the colors of say, the pie chart?

  2. Chavdar
    Chavdar avatar
    898 posts

    Posted 10 Jul 2007 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Digital Man
    Digital Man avatar
    126 posts
    Member since:
    Nov 2003

    Posted 13 Dec 2008 Link to this post

    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.
  4. Steve
    Steve avatar
    10941 posts

    Posted 15 Dec 2008 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top