Learn R Programming

rAmCharts (version 2.0.2)

amAngularGauge: Plotting gauge using rAmCharts

Description

amAngularGauge computes a gauge of the given value.

Usage

amAngularGauge(x, start = 0, end = 100, step = 20, bands = data.frame(start = numeric(), end = numeric(), color = character(), width = numeric(), stringsAsFactors = FALSE), text = "", textSize = 25, secondAxe = FALSE, start2 = 0, end2 = 100, step2 = 20, bands2 = data.frame(start = numeric(), end = numeric(), color = character(), stringsAsFactors = FALSE), ...)

Arguments

x
numeric, value for which the angular gauge is desired.
start
numeric, minimum value allowed.
end
numeric, maximum value allowed.
step
numeric, intervals size.
bands
data.frame with 4 columns : start (numeric, minimal value for the band), end (numeric, maximal value for the band), color (character, color of the band, in hexadecimal) and width (numeric, width of the band). If the last column is not defined, it is auomatically set to 10.
text
character, text lengend.
textSize
numeric, text size.
secondAxe
logical, TRUE if two axes are desired. Default is set to FALSE.
start2
numeric, minimum value allowed for the second axe if secondAxe is TRUE.
end2
numeric, maximum value allowed for the second axe if secondAxe is TRUE.
step2
numeric, intervals size for the second axe if secondAxe is TRUE.
bands2
data.frame with 4 columns : start (numeric, minimal value for the band), end (numeric, maximal value for the band), color (character, color of the band, in hexadecimal) and width (numeric, width of the band). If the last column is not defined, it is auomatically set to 10.
...
see amOptions for more options.

See Also