Hi Rember, Read the important note on this page: https://developers.google.com/chart/interactive/docs/datesandtimes
On Sun, Jan 1, 2017 at 10:16 AM, Rmbr Mgnsy <[email protected]> wrote: > Hi people, i have a problem, with regards to the dates in google charts > using timeline. > > here is my generated records: > > dataTable.addRows([ > > [ 'Major Crop 1', 'sub Crop 1 | Est. Yield: 23', new Date(2016, 12, 15), > new Date(2016, 12, 16) ], > [ 'Legumes', 'Asparagus Champion | Est. Yield: 200', new Date(2016, 12, > 01), new Date(2016, 12, 30) ], > [ 'Legumes', 'Asparagus Champion | Est. Yield: 500', new Date(2016, 12, > 23), new Date(2017, 02, 01) ], > [ 'Carrot', 'Rabbit Carrot | Est. Yield: 1200', new Date(2016, 12, 01), > new Date(2017, 02, 22) ], > [ 'Carrot', 'Rabbit Carrot | Est. Yield: 1000', new Date(2017, 01, 01), > new Date(2017, 03, 26) ], > ]); > > chart.draw(dataTable); > > > > I have no problem with the record but the issue i want to brought out is > that in my timeline, i am starting in 2017-1-15 and i end at 2017-1-16. > I guess that in my timeline it does not follow my records but it just > advanced my record for 1 month. how can i solve this? thanks > > there is no problem with the code, and when i'll check on my record > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to google-visualization-api@ > googlegroups.com. > Visit this group at https://groups.google.com/ > group/google-visualization-api. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-visualization-api/681c9d28-304a-46c2-8b76- > 356beb9267a2%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/681c9d28-304a-46c2-8b76-356beb9267a2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPQAPnx8Q_h_Zx55sZKria%3DnGsThGhREoz9d8m0EkmYCA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
