Traditional web-based reporting with SAS BI tools

Data Value for Stacked vertical Bar

Reply
SAS Employee MrE
SAS Employee
Posts: 11

Data Value for Stacked vertical Bar

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.
SAS Employee
Posts: 238

Re: Data Value for Stacked vertical Bar

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
SAS Employee MrE
SAS Employee
Posts: 11

Re: Data Value for Stacked vertical Bar

Thanks for your reply!, Angela
: )
Regular Learner
Posts: 1

Re: Data Value for Stacked vertical Bar

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
Post a Question
Discussion Stats
  • 3 replies
  • 288 views
  • 0 likes
  • 3 in conversation