AmBalloon: Initializes an AmBalloon

Description Usage Arguments Value Examples

Description

Initializes or updates an object AmBalloon.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## S4 method for signature 'AmBalloon'
initialize(.Object, adjustBorderColor, color, cornerRadius, fillColor, ...)

amBalloon(adjustBorderColor, color, cornerRadius, fillColor, ...)

setAdjustBorderColor(.Object, adjustBorderColor)

## S4 method for signature 'AmBalloon,logical'
setAdjustBorderColor(.Object, adjustBorderColor)

setColor(.Object, color)

## S4 method for signature 'AmBalloon,character'
setColor(.Object, color)

setCornerRadius(.Object, cornerRadius)

## S4 method for signature 'AmBalloon,numeric'
setCornerRadius(.Object, cornerRadius)

setFillColor(.Object, fillColor)

## S4 method for signature 'AmBalloon,character'
setFillColor(.Object, fillColor)

Arguments

.Object

AmBalloon.

adjustBorderColor

logical, if TRUE, border color will be changed when user rolls-over the slice, graph, etc, instead of background color.

color

character, balloon text color.

cornerRadius

numeric, balloon corner radius.

fillColor

character, balloon background color. It is usually defined by the chart itself. If "adjustBorderColor" is set to TRUE, the balloon background color will be equal to "fillColor".

...

other properties of AmBalloon. See http://docs.amcharts.com/3/javascriptcharts/AmBalloon.

Value

An object, possibly updated, of class AmBalloon.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
new("AmBalloon", cornerRadius = 10)

amBalloon(adjustBorderColor = TRUE, color = "#000000", other = TRUE)

setAdjustBorderColor(.Object = amBalloon(), adjustBorderColor = TRUE)

setColor(.Object = amBalloon(), color = "#000000")

setCornerRadius(.Object = amBalloon(), cornerRadius = 5)

setFillColor(.Object = amBalloon(), fillColor = "#FFFFFF")

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