Skip to content
Prev 327000 / 398502 Next

Question on plotting with googleVis

Hello Arnaud,

Thank you for your pointer. However I need to more clarification.

I want to control the max. and min. values for the x-axis, as well as
number of vertical gridlines to be displayed. I tried the following:


MyData <- data.frame(Names1 = paste("XXX", 1:150), Values1 = 1:150 +
10, Values2 = 1:150)
library(googleVis)
plot(gvisBarChart(MyData, xvar="Names1", yvar=c("Values1",
"Values2"),options=list(width=1200,height=1500,hAxis.gridlines =
"{count: 10}",hAxis.minValue = 0, hAxis.maxValue = 100)))

However this is not clearly working. Can someone point me what went wrong?

Thanks and regards,
On 7/16/13, Arnaud Michel <michel.arnaud at cirad.fr> wrote: