BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Rakeon
Quartz | Level 8

Hi,

I use a Bar Chart Graph in order to visualize a categorical variable: (<5% 5%-8% 8%-10%.....).  The problem is that the order in x-axis isn't what I want, and therefore I need to customize the order.

I also look this two post:

https://blogs.sas.com/content/sgf/2015/02/27/sas-visual-analytics-creating-a-custom-sort-order/

https://support.sas.com/kb/49/445.html

 

but they doesn't work.

Have you some idea?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Sam_SAS
SAS Employee
Hello,

It is possible that you have created the custom sort properly, but the chart is not sorting by the category variable. This happens to me all the time.

Try right-clicking the chart and then selecting Sort from the context menu. (The UI might be different depending on the version of VA that you have.) Be sure the correct variable is used to sort the chart.

Let us know if that helps,
Sam

View solution in original post

4 REPLIES 4
pink_poodle
Barite | Level 11
Please check out sample 56933 from the Graph Samples Gallery:
https://support.sas.com/en/knowledge-base/graph-samples-gallery.html
Rakeon
Quartz | Level 8

Hi,
I use SAS VA with the object Bar Chart. I just can set some parameter of this object and I don't know how if i can write code in SAS VA and show some report. I'm just look to sort the x-axis in a custom way with the parameter of SAS VA.

 

 

 

 

Sam_SAS
SAS Employee
Hello,

It is possible that you have created the custom sort properly, but the chart is not sorting by the category variable. This happens to me all the time.

Try right-clicking the chart and then selecting Sort from the context menu. (The UI might be different depending on the version of VA that you have.) Be sure the correct variable is used to sort the chart.

Let us know if that helps,
Sam
Rakeon
Quartz | Level 8

Thanks Sam,

in the property there wasn't checked the checkbox of x-axis Label.

As said you, after checked the x-axis Label, I sorted from the context menu and it works.

 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 4 replies
  • 2750 views
  • 0 likes
  • 3 in conversation