initialize-CategoryAxis: Initializes a CategoryAxis

Description Usage Arguments Examples

Description

Initializes or update a CategoryAxis.

Usage

1
2
3
4
5
6
7
8
9
## S4 method for signature 'CategoryAxis'
initialize(.Object, gridPosition, guides, ...)

categoryAxis(gridPosition, ...)

setGridPosition(.Object, gridPosition)

## S4 method for signature 'CategoryAxis,character'
setGridPosition(.Object, gridPosition)

Arguments

.Object

CategoryAxis.

gridPosition

character, specifies if a grid line is placed on the center of a cell or on the beginning of a cell. Possible values are: "start" and "middle" This setting doesn't work if parseDates is set to TRUE.

guides

list of Guide.

...

Other properties.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
guides <- list(guide(fillAlpha = .4, adjustBorderColor = TRUE),
               guide(fillAlpha = .4, adjustBorderColor = TRUE))
new("CategoryAxis", gridPosition = "start",  gridThickness = 1, guides = guides)


new("CategoryAxis")
new("CategoryAxis", gridPosition = "start", 1) # 1 is not take into account


categoryAxis(gridPosition = "start", adjustBorderColor = TRUE)

setGridPosition(.Object = categoryAxis(), gridPosition = "start")

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