Sorting problem in chart bar

2 posts, 0 answers
  1. Julien
    Julien avatar
    1 posts
    Member since:
    May 2015

    Posted 23 Jun Link to this post


    I'm trying to sort a bar chart by using the sorting option in Telerik.Reporting.Graph ( see the attached files) with telerik Reporting Q1 2016 in Visual studio 2015.

    Actually, i added a field and then i selected a 'Desc' sorting, but it's doesn't seem to be working , the bars chart order is unchanged.

    (By the way i tried to sort programatically, like the exemple :, without success)

    Has anyone found a way to pass the sorting parameters to a chart , or a solution that would work equally?


  2. Katia
    Katia avatar
    242 posts

    Posted 27 Jun Link to this post

    Hello Julien,

    Instead of adding sorting expression to Graph's Sortings collection add it to Graph's CategoryGroups Sortings collection. This will sort the columns according to the specified order.
    Check the attached report demonstrating this approach (can be opened with the latest version of Standalone Designer).

    On the side note, you can also sort Graph's columns in interactive mode - check Sorting Graph (Interactive Sorting Action) help article.

    If the suggested approach does not help or your scenario is different please attach a sample report demonstrating the current settings of Graph item in a support ticket so we can provide you further suggestions.

    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
  3. DevCraft banner
Back to Top