Friday 15 August 2014

r - Rename Axis in rCharts -



r - Rename Axis in rCharts -

how rename yaxis name conference 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 seek

d1$yaxis(type="addcategoryaxis",axislabel = "new")

not working.

thanks helping.

changing axis labels dimple (that is, dplot()) has been described here

how alter axis title rcharts, dplot , dimple

r rename axis rcharts

No comments:

Post a Comment