tush1r / google-motion-charts-with-r

Automatically exported from code.google.com/p/google-motion-charts-with-r
0 stars 0 forks source link

Bubble Chart won't accept dates on x-axis #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use googleVis package in R
2. g<-gvisBubbleChart(Fruits, idvar="Fruit", xvar="Date", yvar="Sales", 
colorvar="Fruit", sizevar="Profit", 
options=list(hAxis.format="{format:'Y-MMM-d'}"))
3. plot(g)

What is the expected output? What do you see instead?
Dates on x-axis. Instead I see Dates that have been converted to numbers.

What version of the product are you using? On what operating system?
R version 2.14.1, googleVis-0.2.14

Please provide any additional information below.

Original issue reported on code.google.com by tanyac...@gmail.com on 14 Mar 2012 at 7:44

Attachments:

GoogleCodeExporter commented 9 years ago
According to the Google API documentation 
http://code.google.com/apis/chart/interactive/docs/gallery/bubblechart.html the 
x-coordinate can either be a string or a numeric vairable. Dates are currently 
not supported.

Original comment by markus.g...@googlemail.com on 15 Mar 2012 at 7:40