powered by
Modify axis tick formatting options
tickAxis(c3, axis, centered = TRUE, format = NULL, culling = NULL, count = NULL, fit = TRUE, values = NULL, rotate = 0, outer = TRUE, ...)
c3 htmlwidget object
character 'x', 'y' or 'y2' axis
boolean (x-axis only)
character js function, wrap character or character vector in JS()
boolean or list defining number of ticks `list(max = 5)` this option effects tick labels (x-axis only)
integer number of ticks to display. This effects tick lines and labels
boolean position ticks evenly or set to values (x-axis only)
vector. Must match axis format type
integer degrees to rotate labels (x-axis only)
boolean show axis outer tick
additional options passed to axis tick object
c3
# NOT RUN { data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>% c3() %>% tickAxis('y', values = c(1,3)) # }
Run the code above in your browser using DataLab