October 2009
Beginner
636 pages
13h 35m
English
Changing fonts and colors goes a long way toward livening up your output, and adding graphics takes your results to a new level. This example shows how to add a heading with a graphic to your PROC REPORT results.
The first thing you need to do is set up the heading. This is done with a COMPUTE BEFORE _PAGE_ statement and a LINE statement. This action adds a new row to the top of the table. The new row contains the text given in the LINE statement, as shown in Figure 19.11. Unfortunately, the row is created using the Sasweb table cell style attributes, which makes the title rather faint in appearance.
ODS HTML BODY='graphic.html' STYLE=sasweb; proc report data=furniture nowd; column Type Material Price; define ...
Read now
Unlock full access