BookmarkSubscribeRSS Feed
E-L-I-10
Calcite | Level 5

I am having a problem resizing static Web pages generated using ODS HTML.  The wrinkle is that I am adding an annotation to the x-axis on a GCHART.  When resized the inner chart shrinks and moves away from the annotation.  The only solution is to refresh the report, but that isn't practical. Any idea how to fix this? ( device=activex in Goptions, but maybe this is wrong) [SAS9.2]

 

Proc Gchart Data = data_for_charts1;
Where technology = "&&technology&a";
Format quantity 3.;
Format flag timing.;
vbar3d range1 / discrete
sumvar = quantity
subgroup = flag
RAXIS = Axis1 missing
MAXIS = Axis2
annotate=anno
Coutline = black
nolegend;
Run;
Quit;

 

Data anno;
Set data_for_charts1;
Where technology = "&&technology&a";
function='label';
color='black';
SIZE = 3;
STYLE = 'SWISS';
xsys='2';
ysys='3';
hsys='7';
x=mid_range; /* placement on the x-axis */
y=1;
when='a';
text=stagegrp_id;
Run;

1 REPLY 1
GraphGuy
Meteorite | Level 14

When doing 'tricky' things like annotation, I would not recommend using device=activex.

I would recommend using device=png instead.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1 reply
  • 704 views
  • 0 likes
  • 2 in conversation