Learn R Programming

rAmCharts (version 1.1.1)

initialize,ValueAxis-method: Initialize

Description

Initialize

Usage

## S3 method for class 'ValueAxis':
initialize(.Object, title, guides, ...)

valueAxis(title, ...)

## S3 method for class 'ValueAxis,character': setTitle(.Object, title)

Arguments

.Object
ValueAxis.
title
character.
guides
list of Guide.
...
Other properties (depend of call function)

Functions

  • valueAxis:

Examples

Run this code
new("ValueAxis", title = "Hello !", 1) # 1 is not take into account

# If one element of guides is not a Guide object, it shows an error
guides <- list(guide(fillAlpha = .4), b = 1)
new("ValueAxis", title = "Hello !",  gridThickness = 1, guides = guides)

guides <- list(guide(fillAlpha = .4), guide(fillAlpha = .5))
new("ValueAxis", title = "Hello !",  gridThickness = 1, guides = guides)
valueAxis(title = "Hello !", axisTitleOffset = 12)
setTitle(.Object = valueAxis(), title = "Hello !")

Run the code above in your browser using DataLab