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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 615 views
  • 0 likes
  • 3 in conversation