rCharts nvd3 library force ticks
问题 I would like to force all tick marks and tick labels to appear along the axis in an rCharts nPlot from the nvd3 library. I have tried several approaches without success. This is the default behaviour: df <- data.frame(x = 1:13, y = rnorm(13)) library(rCharts) n <- nPlot(data = df, y ~ x, type = 'lineChart') n$yAxis(showMaxMin = FALSE) I would like to have all data in 1:13 show along the x axis. Ultimately, I have custom tickmarks I want to show equally-spaced with the following replacement: n