amAngularGauge: Plotting gauge using rAmCharts

Description Usage Arguments References See Also Examples

View source: R/chart_amGauge.R

Description

amAngularGauge computes a gauge of the given value.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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.

References

See online documentation https://datastorm-open.github.io/introduction_ramcharts/ and amChartsAPI

See Also

amOptions, amBarplot, amBoxplot, amHist, amPie, amPlot, amTimeSeries, amStockMultiSet, amBullet, amRadar, amWind, amFunnel, amAngularGauge, amSolidGauge, amMekko, amCandlestick, amFloatingBar, amOHLC, amWaterfall

Examples

1

rAmCharts documentation built on Dec. 6, 2019, 5:11 p.m.