ChartPalette specify palette entry order

2 posts, 0 answers
  1. Will
    Will avatar
    4 posts
    Member since:
    Jul 2014

    Posted 25 Jul 2014 Link to this post


    I'm building a chart using the RadCartesianChart control, and using a custom ChartPalette. I have five PaletteEntries specified in the palette, and I want them to be used in a particular order (first plot on the chart uses first color, second plot uses second color, etc) but it seems to be choosing the same two colors (there are only two plots for now) no matter how I order their decelerations in xaml. Is there a way to specify the order in which palette entries are sampled?

  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 29 Jul 2014 Link to this post

    Hello Will,

    I have attached a project based on your description and the output I get. The chart is displayed as expected. Can you check out the example and see what are the differences with your actual application?

    Petar Marchev
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top