cjs_ticks.Rd
These are only the common tick options supported by all axes. Please see specific axis documentation for all of the available tick options for that axis. Namespace: options.scales|scaleId|.ticks
cjs_ticks(
backdropColor = rgb(255, 255, 255, 0.75, maxColorValue = 255),
backdropPadding = 2,
callback = NULL,
display = TRUE,
color = htmlwidgets::JS("Chart.defaults.color"),
font = htmlwidgets::JS("Chart.defaults.font"),
major = NULL,
padding = 3,
showLabelBackdrop = FALSE,
textStrokeColor = NULL,
textStrokeWidth = 0,
z = 0
)
Color Yes 'rgba(255, 255, 255, 0.75)' Color of label backdrops.
Padding 2 Padding of label backdrop.
function Returns the string representation of the tick value as it should be displayed on the chart. See callback.
boolean true If true, show tick labels.
Color Chart.defaults.color Color of ticks.
Font Yes Chart.defaults.font See Fonts
object Major ticks configuration.
number 3 Sets the offset of the tick labels from the axis
boolean Yes true for radial scale, false otherwise If true, draw a background behind the tick labels.
ColorYes“ The color of the stroke around the text.
numberYes 0 Stroke width around the text.
number 0 z-index of tick layer. Useful when ticks are drawn on chart area. Values <= 0 are drawn under datasets, > 0 on top
a list