2014-10-17 2 views
0

어떻게 yaxis 이름을 회의에서 새 회의로 바꿉니 까.rCharts에서 축 이름 바꾸기

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 

나는 작동하지

d1$yAxis(type="addCategoryAxis",axisLabel = "new") 

을 시도합니다.

도와 주셔서 감사합니다. 딤플

답변