Enhancing HTML Tabular Reports |
Inheriting Style
Attributes |
Changing Headings for Analysis Variables
The headings for |
var boarded transferred deplaned revenue; |
But if you do this, the STYLE= option will affect all four variables,
not just the variable Revenue . How do you isolate
Revenue ? Write a second VAR statement, with
Revenue as its only variable: |
var boarded transferred deplaned; var revenue; |
You can also use multiple CLASS and CLASSLEV statements to target specific variables for the STYLE= option. |
Specifying Inheritance
Now you can add the STYLE= option, but remember that you want the
|
var revenue / style=<parent>; |
Because the Revenue cells are nested beneath the
Dest levels, Dest is considered the parent of Revenue.
Dest is also the parent of Boarded ,
Transferred , and Deplaned . |
Parent Cell | Copenhagen | Boarded | Child Cell |
Transferred | Child Cell | ||
Deplaned | Child Cell | ||
Revenue | Child Cell |
Using the <parent> argument makes the Revenue cells
repeat whatever color is used for their level of Dest . |
|
|
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.