Type : SASHELP
The script uses the standard 'sashelp.class' table (limited to the first 10 observations).
| 1 | PROC TEMPLATE; |
| 2 | define statgraph rjText; |
| 3 | beginGraph; |
| 4 | entryTitle "Right-justified Text: using DataLabelPosition=Left"; |
| 5 | layout overlay; |
| 6 | scatterPlot x=weight y=height / group=sex |
| 7 | dataLabel=name dataLabelPosition=left; |
| 8 | endLayout; |
| 9 | endGraph; |
| 10 | END; |
| 11 | RUN; |
| 1 | |
| 2 | PROC SGRENDER |
| 3 | DATA=sashelp.class(obs=10) template=rjText; |
| 4 | RUN; |
| 5 |