googleVis
googleVis copied to clipboard
Cannot get zoom arguments to work on Annotation Chart
Hi,
I am a newbie to googleVis package. I was looking at the examples from this link: https://www.rdocumentation.org/packages/googleVis/versions/0.6.0/topics/gvisAnnotationChart
(This particular example is not working and throwing an error a.getTime is not a function)
Zoom into the time window, no Y-axis ticks
A3 <- gvisAnnotationChart(Stock, datevar="Date", numvar="Value", idvar="Device", titlevar="Title", annotationvar="Annotation", options=list( width=600, height=350, zoomStartTime=as.Date("2008-01-04"), zoomEndTime=as.Date("2008-01-05")) ) plot(A3)
It seems like the error is javascript related. Can you please help resolve this.
Thanks for logging this issue. I can confirm this issue as well. Not sure if this is caused by googleVis, or the Google API.
On 31 May 2017, at 07:42, Ravi1008 [email protected] wrote:
Hi,
I am a newbie to googleVis package. I was looking at the examples from this link: https://www.rdocumentation.org/packages/googleVis/versions/0.6.0/topics/gvisAnnotationChart
(This particular example is not working and throwing an error a.getTime is not a function)
Zoom into the time window, no Y-axis ticks
A3 <- gvisAnnotationChart(Stock, datevar="Date", numvar="Value", idvar="Device", titlevar="Title", annotationvar="Annotation", options=list( width=600, height=350, zoomStartTime=as.Date("2008-01-04"), zoomEndTime=as.Date("2008-01-05")) ) plot(A3)
It seems like the error is javascript related. Can you please help resolve this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Is there any other way or format to push date into zoomStartTime/zoomEndTime until issue is not fixed?