Data visualization with SAS programming

Cannot Display Charts

Reply
Occasional Contributor
Posts: 15

Cannot Display Charts

I am using SAS EG 5.1. I am trying to use the GUI tools to create charts and they will not display. I have attempted this with bar charts, summary statistics and one way frequency table. I have made sure to include ods graphics on; in my code. Other than that I am at a loss. 

 

Are there any common mistakes/issues that could prevent me from displaying grapics?

 

Thanks!

Super User
Posts: 19,086

Re: Cannot Display Charts

Not having the correct Java installation.

Check your log for any errors when you try tools. 

 

Also, try a code snippet, it may be possible that you don't have a SAS/GRAPH license, but you should be able to use sgplot.

 

proc sgplot data=sashelp.class;

scatter x=height y=weight;

run;quit;

Occasional Contributor
Posts: 15

Re: Cannot Display Charts

[ Edited ]

I do not have any warnings or errors in the log.

 

The code snippet does not produce any output. The log for this proc does not have any errors or warnings.

 

Can you tell me anything else about the Java installation part that I should look into?

Super User
Posts: 19,086

Re: Cannot Display Charts

Can you post your log? You have the show results as generated option in EG turned on?

Occasional Contributor
Posts: 15

Re: Cannot Display Charts

I do have "show generated results" turned on.

 

 

I am not sure what I changed, but after opening up a new instance of SAS, running the code snippet you sent, and then closing and reopening my program it began to work.

 

Thanks for taking time to work on this problem.

 

Ask a Question
Discussion stats
  • 4 replies
  • 352 views
  • 0 likes
  • 2 in conversation