googleVis icon indicating copy to clipboard operation
googleVis copied to clipboard

Cannot get zoom arguments to work on Annotation Chart

Open Ravi1008 opened this issue 7 years ago • 2 comments

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.

Ravi1008 avatar May 31 '17 06:05 Ravi1008

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.

mages avatar May 31 '17 10:05 mages

Is there any other way or format to push date into zoomStartTime/zoomEndTime until issue is not fixed?

12E6FD9 avatar Nov 16 '17 11:11 12E6FD9