Modifier and Type | Method and Description |
---|---|
Grid |
build() |
Grid.GridBuilder |
columns(int columns)
The number of columns in the grid.
|
Grid.GridBuilder |
pattern(Grid.Pattern pattern)
If no `subplots`, `xaxes`, or `yaxes` are given but we do have `rows` and `columns`,', we can
generate defaults using consecutive axis IDs, in two ways:', '*coupled* gives one x axis per
column and one y axis per row.', '*independent* uses a new xy pair for each cell,
left-to-right across each row', 'then iterating rows according to `roworder`.
|
Grid.GridBuilder |
rowOrder(Grid.RowOrder rowOrder) |
Grid.GridBuilder |
rows(int rows)
The number of rows in the grid.
|
Grid.GridBuilder |
xGap(double xGap)
Horizontal space between grid cells, expressed as a fraction of the total width available to
one cell.
|
Grid.GridBuilder |
xSide(Grid.XSide xSide)
Sets where the x axis labels and titles go.
|
Grid.GridBuilder |
yGap(double yGap)
Vertical space between grid cells, expressed as a fraction of the total height available to
one cell.
|
Grid.GridBuilder |
ySide(Grid.YSide ySide)
Sets where the y axis labels and titles go.
|
public Grid.GridBuilder rows(int rows)
rows
- an integer greater than or equal to 1public Grid.GridBuilder columns(int columns)
columns
- an integer greater than or equal to 1public Grid.GridBuilder xGap(double xGap)
xGap
- a double >= 0 && <= 1public Grid.GridBuilder yGap(double yGap)
yGap
- a double >= 0 && <= 1public Grid.GridBuilder ySide(Grid.YSide ySide)
public Grid.GridBuilder xSide(Grid.XSide xSide)
public Grid.GridBuilder rowOrder(Grid.RowOrder rowOrder)
public Grid.GridBuilder pattern(Grid.Pattern pattern)
pattern
- defaults to COUPLEDpublic Grid build()
Copyright © 2019. All rights reserved.