rAmCharts4-shapes {rAmCharts4} | R Documentation |
Bullets
Description
Create a list of settings for bullets, their shape and their style.
Usage
amTriangle(
color = NULL,
opacity = 1,
width = 10,
height = 10,
strokeColor = NULL,
strokeOpacity = 1,
strokeWidth = 2,
direction = "top",
rotation = 0,
image = NULL
)
amCircle(
color = NULL,
opacity = 1,
radius = 6,
strokeColor = NULL,
strokeOpacity = 1,
strokeWidth = 2,
image = NULL
)
amRectangle(
color = NULL,
opacity = 1,
width = 10,
height = 10,
strokeColor = NULL,
strokeOpacity = 1,
strokeWidth = 2,
rotation = 0,
cornerRadius = 3,
image = NULL
)
Arguments
color |
bullet color; this can be a color adapter |
opacity |
bullet opacity, a number between 0 and 1 |
width |
bullet width |
height |
bullet height |
strokeColor |
stroke color of the bullet; this can be a color adapter |
strokeOpacity |
stroke opacity of the bullet, a number between 0 and 1 |
strokeWidth |
stroke width of the bullet |
direction |
triangle direction |
rotation |
rotation angle |
image |
option to include an image in the bullet, a list created
with |
radius |
circle radius |
cornerRadius |
radius of the rectangle corners |
Value
A list of settings for the bullets.
Note
A color can be given by the name of a R color, the name of a CSS
color, e.g. "transparent"
or "fuchsia"
, an HEX code like
"#ff009a"
, a RGB code like "rgb(255,100,39)"
, or a HSL code
like "hsl(360,11,255)"
.
[Package rAmCharts4 version 1.6.0 Index]