cranvas (version 0.8.5)

fix_dimension: Set the dimensions of child layers to fixed values

Description

This function makes use of the grid layout of a root layer to set the size of its child layers.

Usage

fix_dimension(root, row = list(id = NULL, value = NULL), column = list(id = NULL, value = NULL))

Arguments

root
the root layer
row
a list containing the row id's and the corresponding height values
column
a list containing column id's and width values

Value

The dimensions of child layers are set to given values, and their stretch factors are set to 0.

Examples

Run this code
## see ?qaxis

Run the code above in your browser using DataLab