How to sort the outputs of a bar chart in alphabetical order?

Hello, I created a bar chart counting the number of employees of a company according to the distance between its place of residence and place of work. I first discretized this distance to make it a qualitative variable.
Only, the chart doesn’t sort the different bars for me in order but in random order (most of the time it puts it in the correct order for me), and I couldn’t figure out how to choose the order.

Is there a technique for this?
Thanks a lot !


Hello @yoyolv ,

have you tried the bar chart node?

immagine

In its settings, there is the option to sort labels alphabetically.

knime://My-KNIME-Hub/Users/lelloba/Forum/Sorting%20labels%20in%20bar%20chart

Have a nice day,
Raffaello

1 Like

Thanks ! That’s what I did initially, I don’t remember why I changed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.