hexgrid: Create Layout Component

Description Usage Arguments See Also

View source: R/components.R

Description

Create Layout Component

Usage

1
2
hexgrid(..., width = "100%", height = "100%",
  viewBox = "-50 -50 100 100")

Arguments

...

child components

width, height

'[integer(1)]' giving width and height of [outermost svg element](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg) viewport, expressed in percentage of parent element or CSS length units.

viewBox

'[character(1)]' giving the cartesian dimensions of the [SVG viewport](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox) as four whitespace-separated numbers '"min-x min-y width height"'.

See Also

Other components: hexagon, layout, pattern, text


maxheld83/reacthexgrid documentation built on Jan. 4, 2020, 10:46 a.m.