initialize,Title-method {rAmCharts} | R Documentation |
Initializes A Title
Description
Uses the constructor to create the object or update an existing one with the setters.
Usage
## 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 |
|
text |
|
size |
|
... |
other properties of Title. |
Value
(updated) Title
Examples
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)
[Package rAmCharts version 2.1.15 Index]