amLine: Line style

View source: R/lineStyle.R

amLineR Documentation

Line style

Description

Create a list of settings for a line.

Usage

amLine(
  color = NULL,
  opacity = 1,
  width = 3,
  dash = NULL,
  tensionX = NULL,
  tensionY = NULL
)

Arguments

color

line color

opacity

line opacity, a number between 0 and 1

width

line width

dash

string defining a dashed/dotted line; see Dotted and dashed lines

tensionX, tensionY

parameters for the smoothing; see Smoothed lines for the meaning of these parameters

Value

A list of settings for a line.

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)".


rAmCharts4 documentation built on Sept. 22, 2022, 5:05 p.m.