Change colorsof a skin

Thread is closed for posting
2 posts, 0 answers
  1. Ludovic DE FREITAS
    Ludovic DE FREITAS avatar
    4 posts
    Member since:
    Apr 2006

    Posted 17 Feb 2012 Link to this post

    I'm trying to change the colors (palette) of the skin "telerik".
    Palette myPalette = new Palette("myPalette", ColorPaletteGenerator.Generate(20, 230).ToArray(), true);
    myChart.SkinsOverrideStyles = false;
    myChart.SeriesPalette =;
    But nothing seems to work.
    Any Ideas ?
  2. Yavor
    Yavor avatar
    401 posts

    Posted 21 Feb 2012 Link to this post

    Hello Ludovic,

    The skin "telerik" uses complex gradients and that prevents the colors from your palette from being applied. You can try setting the fillstyle property of your series to FillType solid like this:

            <FillStyle FillType="Solid">

    Hope this helps! All the best,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top