BookmarkSubscribe
Choose Language Hide Translation Bar

How to sort the bars in a bar graph?

Hi Guys,

I am trying to plot a bar chart of multiple tests. How can I sort the bars on the bar chart to arrange the bars in a descending order?

I know if I right click on the chart and hit Customize I can add a script for the chart. How can I sort the bars so that I see them in descending order based on value?

Thanks.
0 Kudos
4 REPLIES 4
mpb
Super User mpb
Super User

Re: How to sort the bars in a bar graph?

Here's a rough and ready example of one way to do it:

0 Kudos
ms
Super User ms
Super User

Re: How to sort the bars in a bar graph?

Here is another way to do it.

0 Kudos
Highlighted

Re: How to sort the bars in a bar graph?

How about using the VALUE ORDERING column property for the grouping variable?
0 Kudos

Re: How to sort the bars in a bar graph?

Thanks, guys.

I tried value ordering but it did not affect the chart.
0 Kudos