How do I rename the yaxis name from Conference to New.
library(rCharts)
library(reshape2)
meansconferences=read.csv("https://raw.github.com/patilv/ESPNBball/master/meansconferences.csv")
meltmeansconferences=melt(meansconferences[-c(1,10:14)], id.vars=c("Conference","Year"))
d1=dPlot(y="Conference", x="value",data=meltmeansconferences, groups="variable",type="bar")
d1$yAxis(type="addCategoryAxis",axisLabel = "new")
d1$xAxis(type="addPctAxis")
d1$legend(
x = 0,
y = 0,
width = 500,
height = 75,
horizontalAlign = "right"
)
d1
I try
d1$yAxis(type="addCategoryAxis",axisLabel = "new")
Not working.
Thanks for helping.