Pie Chart Colors

2 posts, 0 answers
  1. Tomáš
    Tomáš avatar
    1 posts
    Member since:
    Feb 2017

    Posted 03 Feb 2017 Link to this post


    I am using Telerik Report Designer and I am trying to manually set the colors of a Pie Chart.

    I have found info about the way that it can be done here: http://www.telerik.com/forums/setting-graph-colors

    I can set the background color of the chart itself just fine with DataPointConditionalFormatting, but as stated in the linked post, this does not change the color of the legend marker.

    Unfortunately the solution mentioned in the post, which is to set the color of the legend markers with property Graph.Series.BarSeries.LegendItem.MarkConditionalFormatting, does not work for me, becuase this property is not there! I even tried editing the .trdx file manually in the text editor and adding this property, but that does not work either.

    What could be the cause of this? I am using version

    Thank you for any help provided



  2. Stef
    Stef avatar
    3610 posts

    Posted 08 Feb 2017 Link to this post

    Hi Tomas,

    You are using the version in which the Graph item was released - Q1 2013. At that time there was no support for editing legend items. You can specify the colors in the Graph.ColorPalette, where the order will depend on the order of series (SeriesGroups.Sortings).

    If you upgrade to the latest version of Telerik Reporting, series' data points and legend items have conditional formatting options allowing you to change colors based on data.

    I hope this helps.

    Telerik by Progress
    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