Alphabetic sort of Y-Axis values in C1Chart

Posted by: korbif on 6 November 2023, 10:07 pm EST

  • Posted 6 November 2023, 10:07 pm EST - Updated 6 November 2023, 10:12 pm EST

    Hello,

    i would like to know if it is possible to sort the values of the Y-Axis in C1Charts (from top to down in ascending alphabetic order). I am using C# .Net 4.8.

    Currently i have a unsorted DataSource which is generated randomly and i would like to sort the values of the Y-Axis from top to down in ascending alphabetic order.

    Is it possible to configure that sorting in the C1 FlexReport Designer or via C# source code?

    For example rendert Chart with unsorted Y-Axis in the attachment.

    Thank you very much in advance,

    Korbinian

  • Posted 8 November 2023, 1:18 pm EST

    Hi Korbinian,

    Unfortunately, there is no direct way to sort the data labels of the axis in alphabetical order. If you want the data labels to be sorted, you have to sort it (if possible) before rendering it to the chart.

    We request you provide us the sample data and let us know how you are using it as the Flexreport’s datasource. Knowing your use-case will help us assist you in a better way.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels