Colors of pie

2 posts, 0 answers
  1. Anastasiya
    Anastasiya avatar
    7 posts
    Member since:
    Jul 2018

    Posted 03 Jul 2018 Link to this post


    How to change colors in the chart? For some reason in my chart only 6 different colors(but 8 sectors, that is, two colors are repeated).

    How to fix it? How to change colors in the chart?

    Thank you!

  2. Nasko
    Nasko avatar
    1071 posts

    Posted 04 Jul 2018 Link to this post

    Hi Anastasiya,

    The Graph item comes with built-in palettes, and you can define additional custom palette. These palette colors also appear in the legend. When multiple series are added to the chart, the chart assigns the series a color in the order that the colors have been defined in the palette.

    If there are a greater number of series than there are colors in the palette, the chart will begin reusing colors, and two series may have the same color. To avoid confusion, define a custom palette with at least the same number of colors as you have series on your chart.

    For more information on how to define a custom color palette, please refer to Formatting Series Colors.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top