BookmarkSubscribeRSS Feed
ShivamKS
Obsidian | Level 7

Is there a possibility to order the stack bars in descending order based on their height(i.e. highest to lowest) . Example as shown in the screenshot want the bar to be syncronised on the basis of their height from highest to lowest value. Please share the detailed steps if possible.

2 REPLIES 2
skillman
SAS Employee

Unfortunately not. Once you add a category to the group field, and set the chart to group the data, you loose the ability to sort by a measure.

-shawn

ballardw
Super User

Since the screen shot isn't showing its a bit hard to see what you want. There are examples in the online help of using an Annotate dataset to create a simple barchart from scratch. Not slick but since you a sending the draw commands you can control the color of any given rectangle explicitly. Of course with this approach you have to do the same to get a legend. If you want to display stacks with the groups in different orders from one bar to the next this may be the general approach though.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 993 views
  • 0 likes
  • 3 in conversation