BookmarkSubscribeRSS Feed
Yennie
Calcite | Level 5
Hey Experts,

I am sure this is simple to do. I have five line graphs that I would like to output in one html with Left frame stating the name of graphs and right frame containing all the graphs.

I am using SAS 9.1 and it seems that my browser's unable to view the html output.

Below is the coding of my graphs...

PROC GPLOT DATA = Gio_Sales;
TITLE "(GIO) - Inforce Risks";
PLOT tranInforce * Month /
VAXIS=AXIS1
HAXIS=AXIS2;
Run;

Proc Gplot Data = Gio_Profit;
Title "Gio Inforce Risk - Motorcycle Class";
Plot tranInforce * Month = GioBike_Grp /
VAXIS=AXIS1
HAXIS=AXIS2;
Run;

Proc Gplot Data = Gio_Profit;
Title "Gio Inforce Risk - Type of Covers";
Plot tranInforce * Month = GioCover_Type /
VAXIS=AXIS1
HAXIS=AXIS2;
Run;

Proc Gplot Data = Gio_Profit;
Title "Gio Inforce Risk - Age Band";
Plot tranInforce * Month = GIO_Ageband /
VAXIS=AXIS1
HAXIS=AXIS2;
Run;

Proc Gplot Data = Gio_Profit;
Title "Gio Inforce Risk - Type of Channels";
Plot tranInforce * Month = GioChannel_Grp /
VAXIS=AXIS1
HAXIS=AXIS2;
Run;

Proc Gplot Data = Gio_Profit;
Title "Gio Inforce Risk - Make of Motorbikes";
Plot tranInforce * Month = GioBike_Make /
VAXIS=AXIS1
HAXIS=AXIS2;
Run;


Hoping someone can help me out. Cheers.
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You must have some other SAS commands to control the destination of our generate graphics output, right? You will get better response if you share the SAS-generated log output from your entire program, not just the PROC statements. Again, SAS log output, not just the SAS program statements.

Scott Barry
SBBWorks, Inc.
Cynthia_sas
SAS Super FREQ
Hi:
Look at this example in the documentation. It uses PROC REPORT and PROC GCHART. Your code would not have any PROC REPORT steps. Specifically, in this example, it is the ODS HTML invocation with the CONTENTS= and FRAME= and FILE= options that make an HTML frame navigation set of files with a frame on the left and the display area on the right:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gr08ods1-ex.htm

cynthia

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