Description Usage Arguments Value Examples
Initializes or updates a ChartCursor.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## S4 method for signature 'ChartCursor'
initialize(.Object, oneBalloonOnly, valueLineAxis, ...)
chartCursor(animationDuration = 0.3, oneBalloonOnly, valueLineAxis, ...)
setOneBalloonOnly(.Object, oneBalloonOnly)
## S4 method for signature 'ChartCursor,logical'
setOneBalloonOnly(.Object, oneBalloonOnly)
setValueLineAxis(.Object, valueLineAxis = NULL, ...)
## S4 method for signature 'ChartCursor,ValueAxisOrCharacterOrMissing'
setValueLineAxis(.Object, valueLineAxis = NULL, ...)
|
.Object |
ChartCursor. |
oneBalloonOnly |
|
valueLineAxis |
ValueAxis. If you set valueLineBalloonEnabled to TRUE, but you have more than one axis, you can use this property to indicate which axis should display balloon. |
... |
other properties of ChartCursor. Run : api("ChartCursor") for more information. |
animationDuration |
|
(updated) .Object of class ChartCursor.
1 2 3 4 5 6 7 8 9 10 11 12 13 | new("ChartCursor", oneBalloonOnly = TRUE)
chartCursor()
chartCursor(oneBalloonOnly = TRUE)
setOneBalloonOnly(.Object = chartCursor(), oneBalloonOnly = TRUE)
setValueLineAxis(.Object = chartCursor(), id = "valueAxis1",
title = "Hello !", axisTitleOffset = 12)
# equivalent to:
valueLineAxis_obj <- valueAxis(id = "valueAxis1", title = "Hello !", axisTitleOffset = 12)
setValueLineAxis(.Object = chartCursor(), valueLineAxis = valueLineAxis_obj)
# or iff 'valueLineAxis_obj' has already been added to the chart:
setValueLineAxis(.Object = chartCursor(), valueLineAxis = "valueAxis1")
|
Important changes: constructors legend() and title() have been replaced by amLegend() and amTitle().
For any bug report or feed back see https://github.com/datastorm-open/rAmCharts
~ ChartCursor ~
$oneBalloonOnly
[1] TRUE
~ ChartCursor ~
$animationDuration
[1] 0.3
~ ChartCursor ~
$animationDuration
[1] 0.3
$oneBalloonOnly
[1] TRUE
~ ChartCursor ~
$animationDuration
[1] 0.3
$oneBalloonOnly
[1] TRUE
~ ChartCursor ~
$animationDuration
[1] 0.3
$valueLineAxis
$valueLineAxis$id
[1] "valueAxis1"
$valueLineAxis$axisTitleOffset
[1] 12
$valueLineAxis$title
[1] "Hello !"
~ ChartCursor ~
$animationDuration
[1] 0.3
$valueLineAxis
$valueLineAxis$id
[1] "valueAxis1"
$valueLineAxis$axisTitleOffset
[1] 12
$valueLineAxis$title
[1] "Hello !"
~ ChartCursor ~
$animationDuration
[1] 0.3
$valueLineAxis
[1] "valueAxis1"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.