GraphBuilder is powerful, but it has a few quirks. One of the quirks is that it tries to maintain the same axis settings for the groups. From your graph, it appears that Category( A or B) is an X grouping variable and Machine is your X variable and you are using bars. As you noted you can click on the X axis and select order by Count descending, however, the order of Category B will be the same order of Category A.
There might be a control sequence to order each Category, maybe a JMP expert can help. A wish list item would be to separate group axes. The only way I know how to get separate X axes (side by side) is to have two different variables. This can be done interactively, by using a Transform Column() it takes a bit of clicking and renaming. Here is the picture created using this method with Big Class.
- Main Menu, GraphBuilder
- Right click on Machine, select Transform>Formula the formula would be If(:Category=="A", :Machine). Transform(Machine) is now in the list of Columns. Right click and rename it to Machine (A).
- Do this again to create a new column/variable Machine (B).
- Now drag Machine (A) to the X-axis, then drag Machine (B) to the right of Machine (A) on the X -axis so they are now two separate axes.
- Now make Category a color or drag Category below each of the 2 X-axis variables.
Otherwise you would need to restructure your table.
Attached is a script using Big Class.jmp. Here :sex is the role of your column Category, and :age plays the role of your column Machine. Run the script to see the results. i find this easier to do via a script.
If you are not familiar with JSL, just change the corresponding columns, make your table the current data table and try it. This script was tested on JMP 12, 13 and 14.
I am anxious to see if there is a simple way to order independently by Group.