Learn R Programming

rAmCharts (version 1.1.1)

stockGraph: Constructor for a stockGraph (class AmGraph)

Description

Constructor for a stockGraph (class AmGraph)

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

Run this code
stockGraph(balloonText = "balloonText", "type" = "column",
           valueField = "value", animationPlayed = TRUE)

Run the code above in your browser using DataLab