Title: Initializes A Title

Description Usage Arguments Value Examples

Description

Uses the constructor to create the object or update an existing one with the setters.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'Title'
initialize(.Object, text, size, ...)

title(text, size, ...)

amTitle(text, size, ...)

## S4 method for signature 'Title,character'
setText(.Object, text)

setSize(.Object, size)

## S4 method for signature 'Title,numeric'
setSize(.Object, size)

Arguments

.Object

Title

text

character, title text.

size

numeric, title size.

...

other properties of Title.

Value

(updated) Title

Examples

1
2
3
4
5
6
7
new("Title", size = 10)
rAmCharts:::title(text = "Main", size = 10)
rAmCharts:::title(text = "Main", bold = TRUE)
amTitle(text = "Main", size = 10)
amTitle(text = "Main", bold = TRUE)
setText(.Object = amTitle(), text = "Bonjour")
setSize(amTitle(), 16)

Example output

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
~ Title ~
$size
[1] 10

~ Title ~
$text
[1] "Main"

$size
[1] 10

~ Title ~
$bold
[1] TRUE

$text
[1] "Main"

~ Title ~
$text
[1] "Main"

$size
[1] 10

~ Title ~
$bold
[1] TRUE

$text
[1] "Main"

~ Title ~
$text
[1] "Bonjour"

~ Title ~
$size
[1] 16

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

Related to Title in rAmCharts...