DATA Step, Macro, Functions and more

creating bar-line graph without using proc sgplot

Reply
Occasional Contributor
Posts: 19

creating bar-line graph without using proc sgplot

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

SAS Super FREQ
Posts: 708

Re: creating bar-line graph without using proc sgplot

Hi

 

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

 

Bruno

Occasional Contributor
Posts: 19

Re: creating bar-line graph without using proc sgplot

Posted in reply to Bruno_SAS

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...

Super Contributor
Posts: 345

Re: creating bar-line graph without using proc sgplot

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

SAS Super FREQ
Posts: 708

Re: creating bar-line graph without using proc sgplot

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

Super User
Super User
Posts: 7,976

Re: creating bar-line graph without using proc sgplot

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

Ask a Question
Discussion stats
  • 5 replies
  • 130 views
  • 0 likes
  • 4 in conversation