Forum Discussion
Using a Categorical Variable Parameter on Axis and Sort Reverting to Default.
I have no concerns with the sort order of the categorical variable when I can get the graph to sort by the categorical variable. The problem is that my graphs for some reason will not stay sorted by the character variable.
I don't know why your graphs don't have a default sort axis (maybe because the data is already summarized?) but I believe that is the core of the problem, not what the categorical variables are sorted by (currently, they are sorted by themselves).
I don't care if the data remains in data source order; I care that two graphs sort the same way, whatever that is.
Hi, hjolley
Thank you for your swift response.
Your observation is very detailed. However, I need to clarify further:
In my visualisation, the reason for not using the default sorting and instead sorting by the index column is that I modified each column’s “sort by column” setting and sorted by the index column.
This is why I recommend using the “sort by column” method to sort the x-axis of your visualisation.
I hope my explanation is clear enough. If you have any further questions, please feel free to contact us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.