View source: R/utilities-axis.R
setY2Axis | R Documentation |
Set right Y-axis properties of a ggplot
object
setY2Axis(
plotObject,
scale = NULL,
valuesLimits = NULL,
axisLimits = NULL,
limits = lifecycle::deprecated(),
ticks = NULL,
ticklabels = NULL,
minorTicks = NULL,
font = NULL,
expand = NULL
)
plotObject |
A |
scale |
Scale of axis. Use enum |
valuesLimits |
Optional numeric values of values limits |
axisLimits |
Optional numeric values of axis limits |
limits |
|
ticks |
Optional values or function for axis ticks |
ticklabels |
Optional values or function for axis ticklabels |
minorTicks |
Optional values or function for axis minor ticks |
font |
A |
expand |
Logical defining if data is expanded until axis |
A ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.