Jump to content
We've recently updated our Privacy Statement, available here. ×

How to sort bar chart with two columns on the category axis


John Brand

Recommended Posts

Hi,

 

you can do it via the script, if it is cross table you can use the below code in your script which would sort it hierarchically

#Updating2 is the visualization you are assigning

categoryKey = CategoryKey("the coulmn you want to sort")

Updating2.SortRowsCategory = categoryKey

Updating2.SortRowsOrder = SortOrder.Descending

Updating2.SortRowsMode=CrossTablePlot.SortMode.Leaf

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...