Annotated Time Line Bug

15 views
Skip to first unread message

Milad

unread,
Jan 4, 2012, 11:50:03 AM1/4/12
to Google Visualization API
Hello

I tried to use the Annotated Time Line chart and it has a bug.
It show all date one month ahead. For example if you put 2012 Jan 3rd,
it shows it as 2012 Feb 3rd.

Please look at the code in this page http://dl.dropbox.com/u/5842247/Syriatel.html
See the actual values in the source code and how it represents them in
the chart.

Please help.

asgallant

unread,
Jan 4, 2012, 3:57:13 PM1/4/12
to google-visua...@googlegroups.com
This is not a bug: javascript uses zero-indexed months, so January is 0, February is 1, etc.

Milad Kawas Cale

unread,
Jan 4, 2012, 4:02:51 PM1/4/12
to google-visua...@googlegroups.com
Thank you for your help.
Reply all
Reply to author
Forward
0 new messages