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

other datatypes than string and number #2

Open
sebastibe opened this issue Nov 10, 2011 · 2 comments
Open

other datatypes than string and number #2

sebastibe opened this issue Nov 10, 2011 · 2 comments

Comments

@sebastibe
Copy link

I am not sure to see how to use other datatypes than "string" and "number" as you have to use the javascript objects, for example for "datetime". Anything I would have missed?

@mvasilkov
Copy link
Owner

I usually format dates as strings; I’m not sure if Google charts API even accepts JS Date objects.

@sebastibe
Copy link
Author

Yes they accept: 'string' 'number' 'boolean' 'date' 'datetime' 'timeofday'.
My issue comes from the fact I am trying to use the Annotated Timeline (http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html) which only accepts 'date' and 'datetime' for the first column.

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

2 participants