gvisbubblechart axes labels as variables

9 views
Skip to first unread message

Kanu

unread,
Nov 14, 2015, 2:11:38 PM11/14/15
to Google Visualization API

how to give variable to axes labels of gvisbubblechart?

Here is my code:

gvisBubbleChart(iris.new,idvar="Species",xvar=input$xcol, yvar=input$ycol,colorvar="Species",options=list(hAxes="[{title:'input$xcol, titleTextStyle: {color: 'black'}}]", vAxes="[{title:'input$ycol', titleTextStyle: {color: 'red'}}]"))}

As in bolds,i want to give the axes labels as variable but unable to do so.Please tell how to do this.

Reply all
Reply to author
Forward
0 new messages