13.3.5.1 The GridLogView Class

The GridLogView class provides the following variables for customizing the display:

BlockFill fill_type
Controls the way in which the Log data values are displayed as blocks. The COLOR setting fills the block with its value's respective color from the colorbar at the bottom of the GridLogView display. The AREA and LINEAR fill the block with size-varying spirals in a manner similar to the spirals in the NetView and described in more detail in that section. (see section 10.6 Network Viewer).
ColorScale* colorspec
The colorscale to use for the colorbar at the bottom of the GridLogView display (see section 6.18 Color Scale Specifications).
int block_size
The size (width and height) of the block area for the value blocks -- note that this is only a maximum value -- if the blocks need to be shrunk to fit everything in the current window size, they will be!
int block_border_size
The horizontal and vertical spacing between the blocks in the GridLogView.
bool header_on
Whether to display the header or not (also accessable through the Hdr check box on the display itself).
bool auto_scale
Whether to scale the block colors by the actual values of items displayed, or to use a fixed range given by the colorscale at the bottom of the screen (also accessable through the Auto check box on the display itself).
FontSpec view_font
Font to use for rendering of all text in the display.

The GridLogView also provides the following functions:

SetBlockFill(BlockFill fill_typ)
Set's the fill_type variable of the GridLogView to be fill_typ, either COLOR, AREA, or LINEAR
UpdateGridLayout(MatrixLayout layout)
Arranges the columns of data to fit without gaps, according to the geometry of the view_spec. Possible choices for layout are:
LFT_RGT_BOT_TOP
LFT_RGT_TOP_BOT
BOT_TOP_LFT_RGT
TOP_BOT_LFT_RGT
These are explained more fully in the next section.