Learn R Programming

rAmCharts (version 1.1.1)

setCategoryAxis: Setter

Description

Setter

Usage

setCategoryAxis(.Object, categoryAxis = NULL, ...)

## S3 method for class 'AmChart': setCategoryAxis(.Object, categoryAxis = NULL, ...)

Arguments

.Object
object of class AmChart.
categoryAxis
object of class CategoryAxis.
...
properties of CategoryAxis.

Value

  • The updated object of class AmChart.

Methods (by class)

  • AmChart:

See Also

AmChart S4 class

CategoryAxis S4 class

Other AmChart methods: addArrow, addArrow,AmChart-method; addAxe, addAxe,AmChart-method; addGraph, addGraph,AmChart-method; addGuide,AmChart-method; addLabel, addLabel,AmChart-method; addSegment, addSegment,AmChart,numeric-method; addSubData, addSubData,AmChart,numeric,data.frame-method; addTitle, addTitle,AmChart-method; addTrendLine, addTrendLine,AmChart-method; addValueAxes, addValueAxes,AmChart-method; setAllLabels, setAllLabels,AmChart,list-method; setArrows, setArrows,AmChart-method; setAxes, setAxes,AmChart,list-method; setBalloon, setBalloon,AmChart-method; setCategoryField, setCategoryField,AmChart,character-method; setChartCursor, setChartCursor,AmChart-method; setChartScrollbar, setChartScrollbar,AmChart-method; setCreditsPosition, setCreditsPosition,AmChart,character-method; setDataProvider,AmChart,data.frame-method; setExport, setExport,AmChart-method; setGraph,AmChart-method; setGraphs, setGraphs,AmChart,list-method; setGuides, setGuides,AmChart,list-method; setLegend, setLegend,AmChart-method; setSubChartProperties, setSubChartProperties,AmChart-method; setTitles, setTitles,AmChart,list-method; setTrendLines, setTrendLines,AmChart,list-method; setValueAxes, setValueAxes,AmChart,list-method; setValueAxis,AmChart-method

Other AmChart setters: addArrow, addArrow,AmChart-method; addAxe, addAxe,AmChart-method; addGraph, addGraph,AmChart-method; addGuide,AmChart-method; addLabel, addLabel,AmChart-method; addTitle, addTitle,AmChart-method; addTrendLine, addTrendLine,AmChart-method; addValueAxes, addValueAxes,AmChart-method; setAllLabels, setAllLabels,AmChart,list-method; setArrows, setArrows,AmChart-method; setAxes, setAxes,AmChart,list-method; setBalloon, setBalloon,AmChart-method; setCategoryField, setCategoryField,AmChart,character-method; setChartCursor, setChartCursor,AmChart-method; setChartScrollbar, setChartScrollbar,AmChart-method; setCreditsPosition, setCreditsPosition,AmChart,character-method; setDataProvider,AmChart,data.frame-method; setExport, setExport,AmChart-method; setGraph,AmChart-method; setGraphs, setGraphs,AmChart,list-method; setGuides, setGuides,AmChart,list-method; setLegend, setLegend,AmChart-method; setSubChartProperties, setSubChartProperties,AmChart-method; setTitles, setTitles,AmChart,list-method; setTrendLines, setTrendLines,AmChart,list-method; setValueAxes, setValueAxes,AmChart,list-method; setValueAxis,AmChart-method

Examples

Run this code
library(pipeR)
# Setter for categoryAxis
amChart() %>>% setCategoryAxis(categoryAxis(gridPosition = "start"))
amChart() %>>% setCategoryAxis(gridPosition = "start")
# The argument categoryAxis must be an object of class CategoryAxis
amChart() %>>% setCategoryAxis(categoryAxis = "error")

Run the code above in your browser using DataLab