rAmCharts (version 2.1.15)

addGuide,AxisBase,GuideOrMissing-method: Add a Guide for AxisBase

Description

Update an object of inherited class AxisBase.

Usage

# S4 method for AxisBase,GuideOrMissing
addGuide(.Object, guide = NULL, ...)

Value

(possibly updated) .Object of class AxisBase.

Arguments

.Object

children class of AxisBase.

guide

(optional) Guide.

...

properties of Guide Argument for method addGuide.

Examples

Run this code
addGuide(.Object = valueAxis(), fillAlpha = .4, adjustBorderColor = TRUE, gridThickness = 1)
# equivalent to:
guide_obj <- guide(fillAlpha = .4, adjustBorderColor = TRUE, gridThickness = 1)
addGuide(.Object = valueAxis(), guide = guide_obj)

Run the code above in your browser using DataLab