Description Usage Arguments See Also
Describe a shape for an entire geom or for certain fields.
1 |
geom |
A geom object, e.g. a call to line, point, etc. |
field |
A character string specifying a data field. |
value |
A character string, unnamed character vector, or named character vector or list. (as with color, a function can be supplied in native G2, however as of now there is no good way to translate R functions to JavaScript functions). The following shapes are available for each geom, point: "hollowCircle", "hollowSquare", "hollowDiamond", "hollowBowtie", "hollowTriangle", "hollowHexagon", "cross", "tick", "plus", "hyphen", and "line" line: "line", "smooth", "dash", "dot", and "spline" area: "area", "line", and "smoothLine" interval: "rect", "hollowRect", "line", and "tick" polygon: "polygon" and "hollow" schema: "box" and "candle" |
Other geom methods: adjust
,
color
, opacity
,
position
, size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.