Closed GoogleCodeExporter closed 9 years ago
Issue doesn't seem to happen if I shift the range of the time values +1000 so
they are more like years, perhaps it is mistakenly converting numeric values
to dates?
Original comment by skyeb...@gmail.com
on 21 Apr 2011 at 8:22
The Google Visualisation API interprets a numeric value of 1 in timevar as 1901
and not as year 1; equally it will only accept date from 0/1/01/1900 onwards
Here is a simple examples:
library(googleVis)
plot(gvisMotionChart(Fruits, "Fruit", "Year"))
Fruits[1,2]=1
plot(gvisMotionChart(Fruits, "Fruit", "Year"))
Fruits$Date[1]="0-01-01"
plot(gvisMotionChart(Fruits, "Fruit", "Date"))
Original comment by markus.g...@googlemail.com
on 25 Apr 2011 at 3:47
It appears that years greater 100 are accepted without problems.
So could it be that years before 100 (two digits) are interpreted as 19XX?
Original comment by markus.g...@googlemail.com
on 26 Apr 2011 at 7:49
[deleted comment]
I have added a note to the help file of gvisMotionChart:
Please notice that a \code{timevar} with values less than 100 will be shown as years 19xx.
Original comment by markus.g...@googlemail.com
on 26 May 2011 at 8:14
Original issue reported on code.google.com by
skyeb...@gmail.com
on 21 Apr 2011 at 1:59