Learn R Programming

rcdimple (version 0.1)

xAxis.dimple: Modify plot elements that relate to the x and y axes of a dimple chart

Description

xAxis, yAxis, zAxis configure the x, y, and z axis properties of the chart. In most cases, parameters closely match those of dimple.axis.

Usage

"xAxis"(viz, ...)
"yAxis"(viz, ...)
"zAxis"(viz, ...)

Arguments

...
other properties for dimple axis. See Properties.
type
"addMeasureAxis", "addCategoryAxis", "addTimeAxis", or "addPctAxis"
orderRule
defines how to sort a categorical axis. orderRule can either be a field name as a string or a vector of values in the desired order.
grouporderRule
defines how to the values in a group. orderRule can either be a field name as a string or a vector of values in the desired order.
overrideMin
manually specify a minimum axis value. See dimple.axis.overrrideMin.
overrideMax
manually specify a maximum axis value. See dimple.axis.overrrideMax.
inputFormat
the d3 time format of the values in a field if an axis is addTimeAxis. See dimple.axis.dateParseFormat.
outputFormat
the d3 format of an axis. See dimple.axis.tickFormat.
timePeriod
for time axis periodicity of ticks. See dimple.axis.timePeriod.
timeInterval
for time axis number of periods between ticks. See dimple.axis.timeInterval.
fontSize
for font size of axis. Any valid CSS font-size will work.
fontFamily
for font size of axis. Any valid CSS font-family will work.
useLog
for logarithmic axis.
logBase
for base of log if axis is logarithmic useLog = TRUE.

See Also

Other axis: yAxis; zAxis

Other dimple: add_legend; add_title; default_colors; dimple; facet.dimple; set_bounds