BookmarkSubscribeRSS Feed
P5C768
Obsidian | Level 7

I have had this dashboard in production for sometime now and recently the titles of the charts began not being displayed in the GREPLAY step.  From the code below, the title "Closed Volume" should display above the 'clovol' chart.  It appears correctly in the GCHART step, but not in the GREPLAY step.  I have tried removin the surronding charts to ensure there was no overlap on the GREPLAY, but that did not seem to wotk either.  Anyone have any thoughts on this?  Thanks!

 

/*****************************************/
/*Closed Volume Vertical Double Bar Chart*/
/*****************************************/

goptions xpixels=500 ypixels=500;
goptions hsize=4in vsize=2in;
goptions gunit=pct htitle=6 htext=6
ftitle=&ftitle ftext=&ftext;
title1 ls=1.5 c=black "Closed Volume";
axis1 label=(angle=90 "Volume (in thousands)");
axis2 label=none value=none major=none minor=none;
axis3 label=none offset=(2,2);
legend3 label=none mode=reserve position=(bottom center outside) across=2 offset=(0,0);

proc gchart data=Mon_Vol;
	vbar year / discrete
	type=sum sumvar=closed_round
	group=MonthName
	subgroup=year
	raxis=axis1 
	maxis=axis2
	gaxis=axis3
	space=0
	gspace=1.6
	
	coutline=gray88
	autoref cref=black clipref
	legend=legend3
	noframe
	html=Closedhtml
	name="clovol";
run; 

ods HTML5 
options (bitmap_mode='inline')
file="&name..html" 
path="&odsout.";

goptions device=png;
goptions hsize=11in vsize=8in;
goptions xpixels=900 ypixels=900; 
goptions display noborder cback=&backcolor;

proc greplay tc=tempcat nofs igout=work.gseg;
  tdef dashbrd des='Dashboard'


	1/	ulx =0   uly = 100
  		urx =9   ury = 100
		llx =0   lly = 75
		lrx =9   lry = 75

	2/	ulx =10   uly = 100
  		urx =19   ury = 100
		llx =10   lly = 75
		lrx =19   lry = 75

	3/	ulx =20   uly = 100
  		urx =29   ury = 100
		llx =20   lly = 75
		lrx =29   lry = 75

	4/	ulx =30   uly = 100
  		urx =39   ury = 100
		llx =30   lly = 75
		lrx =39   lry = 75

	5/	ulx =40   uly = 100
  		urx =49   ury = 100
		llx =40   lly = 75
		lrx =49   lry = 75

	6/	ulx =50    uly = 100
  		urx =59    ury = 100
		llx =50    lly = 75
		lrx =59    lry = 75

	7/	ulx =60    uly = 100
  		urx =69   ury = 100
		llx =60    lly = 75
		lrx =69   lry = 75

	8/	ulx =70   uly = 100
  		urx =79   ury = 100
		llx =70   lly = 75
		lrx =79   lry = 75

	9/	ulx =80   uly = 100
  		urx =89   ury = 100
		llx =80   lly = 75
		lrx =89   lry = 75

	10/	ulx =90   uly = 100
  		urx =99   ury = 100
		llx =90   lly = 75
		lrx =99   lry = 75

	11/	ulx =0   uly = 73
  		urx =50   ury = 73
		llx =0   lly = 37
		lrx =50   lry = 37

	12/	ulx =50   uly = 73
  		urx =100   ury = 73
		llx =50   lly = 37
		lrx =100   lry = 37

	13/	ulx =0   uly = 36
  		urx =100   ury = 36
		llx =0   lly = 10
		lrx =100   lry = 10

	14/	ulx =0   uly = 7
  		urx =100   ury = 7
		llx =0   lly = 0
		lrx =100   lry = 0
;
template = dashbrd;
treplay

1:TL_1 
2:TL_2
3:TL_3
4:TL_4
5:TL_5
6:TL_6
7:TL_7
8:TL_8
9:TL_9
10:TL_10
11:cVol
12:pVol
13:clovol
14:grafcat

des='' name="&name";

run;

quit;

ODS HTML5 CLOSE;
ODS LISTING;
1 REPLY 1
P5C768
Obsidian | Level 7

Update: I'm trying to accomplish exactly what is listed in this SAS KB article:

 

http://support.sas.com/techsup/notes/v8/25/590.html

 

However, even this example does not work for me, no titles are produced at all.  I am using EG 6.1 and 7.1 SAS 9.4.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1017 views
  • 0 likes
  • 1 in conversation