We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Sorting chart with multiple series

Hi Syncfusion!


I'm currently learning to create charts however I come up with one issue while sorting..

When my chart has 2 series (example below), it only allows me to sort ascending / descending the first series 'Output Labour', it does not let me to sort it by Time Spent (series 2).


Is there a workaround to sort by more than 1 series?


        series1.SortPoints = True

        series1.SortOrder = ChartSeriesSortingType.Y

        series2.SortPoints = True

        series2.SortOrder = ChartSeriesSortingType.Y

' Works

        ChartControl2.Series(0).SortOrder = ChartSeriesSortingOrder.Ascending 

        ChartControl2.Series(0).SortOrder = ChartSeriesSortingOrder.Descending

 ' Does NOT work!

        ChartControl2.Series(1).SortOrder = ChartSeriesSortingOrder.Ascending

        ChartControl2.Series(1).SortOrder = ChartSeriesSortingOrder.Descending

test.jpg


4 Replies

NM Nanthini Mahalingam Syncfusion Team April 13, 2023 12:35 PM UTC

Hello Jakub,


We have analyzed your query and would like to inform you that we have replicated the reported sorting issue when sorting more than one series. We will investigate further and provide you with complete details on April 14, 2023.


Best regards,

Nanthini Mahalingam.



NM Nanthini Mahalingam Syncfusion Team April 14, 2023 09:17 AM UTC

Hello Jakub,


We have analyzed the reported sorting issue that occurs when sorting more than one series with our source. We have confirmed this as a bug and will provide detailed feedback about the issue on April 17th, 2023.


Best regards,

Nanthini Mahalingam.



JA Jakub April 14, 2023 09:19 AM UTC

Thank you for investigating this



NM Nanthini Mahalingam Syncfusion Team April 17, 2023 01:24 PM UTC

Hi Jakub,

We have analyzed the issue with our development team and would like to inform you that we do not have multiple series sorting. Therefore, we have considered this as a feature request. You can track the status of this feature request using the feedback link provided below.


Feedback Link: https://www.syncfusion.com/feedback/42937/provide-support-sorting-for-the-multiple-series-of-the-chart


We prioritize features for each release based on demand, and we do not have immediate plans to implement this as we have already committed to planned work. However, this feature will be available in one of our upcoming releases.


Please cast your vote to make it count, and if you have any further specifications or suggestions for this feature request, you can add them as a comment in the feedback portal.


Best regards,

Nanthini Mahalingam.


Loader.
Up arrow icon