Search notes:

SAS: proc gchart

Bar

data tq84_dat;
   cls = 'Foo'; val = 2; output;
   cls = 'Bar'; val = 4; output;
   cls = 'Foo'; val = 1; output;
   cls = 'Foo'; val = 3; output;
   cls = 'Baz'; val = 3; output;
   cls = 'Bar'; val = 4; output;
run;

goptions
  reset   = all
  device  = png
  gsfname = graph /* Note: fileref not yet assigned */
;

/* Assigning fileref */
filename graph '/share/home/tq84/sas/img/gchart-vbar.png';

proc gchart data = tq84_dat;
     vbar cls;
run;

/* Assigning different fileref */
filename graph '/share/home/tq84/sas/img/gchart-hbar.png';

proc gchart data = tq84_dat;
     hbar cls;
run;
Github repository about-sas, path: /programming/proc/gchart/bar/horizontal-vertical.sas

See also

SAS programming: proc

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759408327, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/proc/gchart/index(74): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78