jbrewster82
Posts: 1
Joined: Thu May 12, 2022 4:07 am

Disable Sorting for a single data point

Hi Dev Team:

I was not able to find anything regarding this, so I just wanted to ask, is there any way to disable a single point on a chart for sorting.

Let's say we have a bar chart with data and the last column is a "Don't Know" column, we don't want this column to sort while the rest do.

Let me know if that makes sense and if it's possible.

Thanks,
Justin
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Disable Sorting for a single data point

Hi jbrewster82,

Welcome to our forum and thanks for contacting us with your question!

Do you use dataSorting option to sort values for your column chart? If so, most likely you will have to define custom sort key like in this article, and assing proper value to the last 'Don't Know' column.

Let me know if it was what you were looking for.
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Usage”