BookmarkSubscribeRSS Feed
MrE
SAS Employee MrE
SAS Employee
On WRS 3.1, are there anyway to display data value of each block of stack?
for example, I defined Bar height is value,
Bars is year
and Bar SubGroup is Class (which are A,B and C)
I also set Graph properties as Vertical, Stacked Bar and Check show data values.

The graph output just shows sum of value of all class(A+B+C) on the top of bar. But I would like to show data value of each class. Please advice.
3 REPLIES 3
AngelaHall
SAS Employee
MrE,
I was able to duplicate your issue in my version of the sys (4.2 M1).
It appears that this option isn't yet available.

A recommendation would be to write a SAS stored process that completes this.
Included is an example of this code (I successfully tested in 9.2 and saw documentation that this option was available in 9.1.3.)

proc gchart data=sashelp.shoes;
hbar region / subgroup=subsidiary sumvar=stores inside=sum;
run;quit;

~ Angela Hall
http://sas-bi.blogspot.com
MrE
SAS Employee MrE
SAS Employee
Thanks for your reply!, Angela
: )
Juli
Calcite | Level 5
Hi,

Does anyone know when this "inside" option for stacked bar charts will be available in WRS?

Also, is there a plan to have a report object that will create a stacked bar chart with line in WRS?

Thanks!
Juli

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1119 views
  • 0 likes
  • 3 in conversation