stockGraph: Constructor for a stockGraph (class AmGraph)

View source: R/class_AmGraph.R

stockGraphR Documentation

Constructor for a stockGraph (class AmGraph)

Description

Constructor used for AmStockChart

Usage

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

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

rAmCharts documentation built on Sept. 30, 2022, 5:06 p.m.