| LAYOUT GRIDDED Statement |
| Option | Description |
| AUTOALIGN | specifies whether this layout is automatically aligned within its parent when nested within an overlay-type layout. |
| BACKGROUNDCOLOR | Specifies the coolor of the layout background. |
| BORDER | Specifies whether a border is drawn around the layout. |
| BORDERATTRS | Specifies the properties of the border line. |
| COLUMNGUTTER | Specifies the amount of empty space between the columns. |
| COLUMNS | Specifies the number of columns in the layout. |
| HALIGN | Specifies this layout's horizontal alignment within its parent when nested within an overlay-type layout. |
| LOCATION | Specifies whether the layout appears inside or outside the plot area when nested within an overlay-type layout. |
| OPAQUE | Specifies whether the layout background is opaque. |
| ORDER | Specifies whether cells are populated using column priority or row priority. |
| PAD | Specifies the amount of extra space that is added inside the layout border. |
| ROWGUTTER | Specifies the amount of empty space between the rows. |
| ROWS | Specifies the number of rows in the layout. |
| VALIGN | Specifies this layout's vertical alignment within its parent when nested within an overlay-type layout. |
Default: NONE
Restriction: This option is only available when this layout statement is nested within an overlay-type layout. This option is ignored if this statement is the outermost layout or if the parent layout is not an overlay-type layout.
Interaction: If this option is enabled, it overrides the HALIGN= and VALIGN= options.
Interaction: This option is ignored if LOCATION=OUTSIDE.
Default: The GraphBackground:Color style reference.
Interaction: OPAQUE=TRUE must be in effect for the color to be seen. By default, OPAQUE=FALSE.
Default: FALSE
Interaction: If this option is set to FALSE, the BORDERATTRS option is ignored.
Default: The GraphBorderLines style element.
Interaction: BORDER=TRUE must be set for this option to have any effect.
Default: 0
Tip: If there are n columns, then there are n-1 gutters.
Default: If ORDER=ROWMAJOR, the default is 1.
If ORDER=COLUMNMAJOR, as many columns are created as needed to satisfy the ROWS= request.
Restriction: Assuming ORDER=ROWMAJOR, if COLUMNS=n and there are m cells defined, and n > m , then only m columns will be created (there are n - m cells with zero size).
Tip: This option is used to create a grid with a fixed number of columns, without concern for how many rows. For example, the following settings ensure that columns 1 and 2 in the first row are filled with content, as shown in the figure:
layout gridded / columns=2 order=rowmajor border=true ; entry '1' /border=true; entry '2' /border=true; entry '3' /border=true; endlayout;
![]()
Default: CENTER
Restriction: This option is only available when this statement is nested within an overlay-type layout. It is ignored if this statement is the outermost layout or if the parent layout is not an overlay-type layout.
Interaction: If the AUTOALIGN= option is enabled, this option is ignored.
Default: INSIDE
Restriction: This option has effect only when the GRIDDED layout block appears within an overlay-type layout. For more information on how child positions are determined in an overlay-type layout, see the LAYOUT OVERLAY's "Example Program and Statement Details".
Interaction: The actual position is determined by this option's setting plus the settings for the AUTOALIGN= or HALIGN= and VALIGN= options.
Default: FALSE
Interaction: When this option is set to FALSE, the background color is not used.
Default: ROWMAJOR
| ROWMAJOR | fills all the columns in a row, from left to right, before going to the next row. |
| COLUMNMAJOR | fills all the rows in a column, from top to bottom, before going to the next column. |
Requirement: When this option is set to COLUMNMAJOR, the ROWS= option must be specified to indicate how many rows to fill before wrapping to the next column. The default number of rows is 1.
Requirement: When this option is set to ROWMAJOR, the COLUMNS= option must be specified to indicate how many columns to fill before wrapping to the next row. The default number of columns is 1.
Interaction: The ROWS= option is ignored when ORDER=ROWMAJOR.
The COLUMNS= option is ignored when ORDER=COLUMNMAJOR.
Default: The default padding for all sides is 0. Values without units are in pixels (px). A unit must be provided if other than pixels.
Values without units are in pixels (px). A unit must be provided if other than pixels.
Default: 0
Tip: If there are n rows, then there are n-1 gutters.
Default: If ORDER=COLUMNMAJOR, the default is 1.
If ORDER=ROWMAJOR, this option is ignored and as many rows are created as needed to satisfy the COLUMNS= request.
Restriction: Assuming ORDER=COLUMNMAJOR, if ROWS=n and there are m cells defined, and n > m , then only m rows will be created (there are n - m cells with zero size).
Tip: This option is used to create a grid with a fixed number of rows, without concern for how many columns. For example, the following settings ensure that rows 1 and 2 in the first column are filled with content, as shown in the figure:
layout gridded / rows=2 order=columnmajor border=true ; entry '1' /border=true; entry '2' /border=true; entry '3' /border=true; endlayout;
![]()
Default: CENTER
Restriction: This option is only available when this statement is nested within an overlay-type layout. It is ignored if this statement is the outermost layout or if the parent layout is not an overlay-type layout.
Interaction: If the AUTOALIGN= option is enabled, this option is ignored.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.