stockGraph: Constructor for a stockGraph (class AmGraph)

Description Usage Arguments Value Examples

View source: R/class_AmGraph.R

Description

Constructor used for AmStockChart

Usage

1
stockGraph(animationPlayed = FALSE, balloonText, title, type, valueField, ...)

Arguments

animationPlayed

logical.

balloonText

character. Balloon text. You can use tags like [[value]], [[description]], [[percents]], [[open]], [[category]] or any other field name from your data provider. HTML tags can also be used.

title

character. Graph title.

type

character. Type of the graph. Possible values are: "line", "column", "step", "smoothedLine", "candlestick", "ohlc". XY and Radar charts can only display "line" otherArguments graphs.

valueField

character. Name of the value field in your dataProvider.

...

Other properties

Value

An object of class AmGraph.

Examples

1
2
3
# --- constructor
stockGraph(balloonText = "balloonText",valueField = "value", animationPlayed = TRUE)
           

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