Custom sort X-axis of conditional box plot

Hi,
Is there any way to sort the X-axis of the attached box plot as per the requirements?
Node:- Conditional Box Plot, Java Script
I am using KNIME 4.7.0.

Hi @DineshS

I just cheked the -Conditional Box Plot- node (Java Script) and couldn’t find any option to set the order of values in the X-axis plot. They are just automatically sorted alphabetically. One possible trick is to use a -Rule Engine- node to add numbers to your values so that their order matches the one you need eventually. For instance, it would be as follows in your case:

1.Mon
2.Tue
3.Wed

7.Sun

This should force the labels to be sorted by day starting from Monday.

Hope it helps.

Best
Ael

1 Like

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