The "traditional" device-based graphics requires a license to SAS/Graph.
You can check to see if you have such a license by running:
proc setinit; run;
Log shows this if licensed.
---SAS/GRAPH
If you don't have a license then you'll want to use a different procedure such as SGPLOT or get a license.
If the log shows that you have license then run:
Proc product_status;run;
Log shows this if installed:
For SAS/GRAPH ...
Custom version information:
If licensed and not installed then you need to reinstall making sure that SAS/Graph is selected.