BookmarkSubscribeRSS Feed
bits
Fluorite | Level 6

My dataset having three variables i.e Revenue, year, shipment now i want to create a bar-line graph without using proc sgplot so that revenue should be bar-graph and shipment should be line graph and both graphs should overlied each other as in figureBar_Line_31.png

5 REPLIES 5
BrunoMueller
SAS Super FREQ

Hi

 

Proc SGPLOT is made for this type of graphs, what is the reason for not using Proc SGPLOT.

 

Bruno

bits
Fluorite | Level 6

I have tried proc sgplot but it shows log error that "proc sgplot is not found" may be its due to the old SAS version that im using so plz give me solution of that....proc gchart is running fine for me...

andreas_lds
Jade | Level 19

If your SAS version is really that old, you should update it asap. Afaik SAS does not demand any extra payment for upgrades.

BrunoMueller
SAS Super FREQ

Hi

 

Please provide the SAS Version information.

 

Have a go with Proc GBARLINE, see examples here https://support.sas.com/sassamples/graphgallery/PROC_GBARLINE.html

 

Bruno

RW9
Diamond | Level 26 RW9
Diamond | Level 26

If your SAS version is that old you may want to pull out a ruler and pencil Man Happy

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 5 replies
  • 1267 views
  • 0 likes
  • 4 in conversation