Skip to content

Cannot get zoom arguments to work on Annotation Chart #64

@Ravi1008

Description

@Ravi1008

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions