I am currently using nPlot from rCharts package and how do I add $ signs to the y Axis?
I am thinking I need something like n1$yAxis(labels = ...)
but I don't think nPlot supports this?
test <- data.frame(object = c("A", "B"), price = c(111333, 876176))
test$Test <- "TEST"
n1 <- nPlot(price~Test, group = "object", data = test, type = "multiBarChart")
Also, it looks like nPlot is rounding to 5 significant figures (initially thought it was rounding to the nearest 10), is there a way of displaying the full value?
Thanks,
dev
branch ofrCharts
. It uses 13 digits while converting to json, and can be controlled usingoptions('rcharts.digits')
. – Mauneydevtools::install_github('rCharts', 'ramnathv', ref = 'dev')
– Mauney