/* Graph-N-Go SAS/Graph Code Generation for ** ** Viewer: Bar Chart 1 04OCT2011 14:18:15 ** Description: Bar Chart 1 ** Modified: 04OCT2011:14:32:54 ** ** SAS products required: Base, SAS/Graph (Version 9 or later) ** Code generated on: 04OCT2011 14:46:59 ** ** There may be differences in appearance of the graph ** generated by the code below and the Graph-N-Go viewer. ** ** To make code modifications consult the documentation ** for these statements: ODS, GCHART, GPLOT, ** GOPTIONS, AXIS, LEGEND, SYMBOL, TITLE, FOOTNOTE. ** ** To route output to a graphics device other than your monitor, ** modify the source code below to change the device driver by ** 1) removing the asterisk preceding GOPTIONS DEVICE=JAVA; ** 2) changing JAVA to some other valid device. ** ** To create an HTML file, modify the source code below ** to enable ODS output by ** 1) removing the asterisks from the ODS statments and ** the asterisk preceding GOPTIONS DEVICE=JAVA; ** 2) setting the value of DEVICE= to GIF, JAVAIMG, ACTXIMG, ** JAVA, or ACTIVEX (JAVA and ACTIVEX create interactive graphs) ** 3) verifying or changing the ODS FILE= option so it names the ** HTML file for output. ** 4) verifying or changing the ODS GPATH= option so it names the ** path for the GIF or JPG file displayed by the HTML page. This ** option is not necessary if the DEVICE is ACTIVEX or JAVA. */ /* Begin ODS output */ * ods listing close; * ods html file="output-HTML-file-specification" (title="Graph-N-Go Output") gpath="output-image-path-specification" gtitle gfootnote style=minimal; /* Set the SAS/Graph options */ goptions reset=all ctext=black ftext="MS Sans Serif" htext=8 pt colors=(CXCF3D00 CX808000 CXBCBA8B CX2C4321 CXFFE300 CX50B454 CXA6242F CX69839C CX005F00 CXC17500 CX506686 CXDFE0D7 CX676667 CXCBD5E8 CXC72037 CXFFCF00); /* Set the Titles/Footnotes */ title1 justify=center color=blue font="MS Sans Serif" height=20 pt "Yardstick szám szerinti gyakoriságok (Kékszalag verseny)"; title2 justify=center color=green font="MS Sans Serif" height=15 pt "2008"; footnote1 justify=center color=CX000000 font="MS Sans Serif" height=8 pt "László Anna"; /* Set the SAS/Graph device driver */ * goptions device=JAVA xpixels=997 ypixels=778; /* AXIS1 describes axis for Category variable YS */ /* AXIS2 describes axis for Response statistic FREQ */ axis1 minor=none label=("YS") ; axis2 minor=none label=("(Frequency)") order=(0 to 60 by 5) ; proc gchart data=M.KEKUJ; vbar YS / type=FREQ maxis=axis1 frame cframe=CXFFFFFF autoref clipref cautoref=CXC0C0C0 woutline=1 coutline=CX000000 caxis=CX676667 raxis=axis2 ; run; quit; /* Reset all graphics options */ goptions reset=all; /* End ODS output */ * ods html close; * ods listing;