Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get zoom arguments to work on Annotation Chart #64

Open
Ravi1008 opened this issue May 31, 2017 · 2 comments
Open

Cannot get zoom arguments to work on Annotation Chart #64

Ravi1008 opened this issue May 31, 2017 · 2 comments

Comments

@Ravi1008
Copy link

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.

@mages
Copy link
Owner

mages commented May 31, 2017 via email

@12E6FD9
Copy link

12E6FD9 commented Nov 16, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants