Learn R Programming

rAmCharts4 (version 1.6.0)

rAmCharts4-shapes: 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 )

Value

A list of settings for the bullets.

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 amImage

radius

circle radius

cornerRadius

radius of the rectangle corners